diff options
author | Steve Bennett <steveb@workware.net.au> | 2013-12-12 17:25:04 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2013-12-21 01:56:58 +1000 |
commit | 52188593fcbbbbe72b81814d6d2ae11d13202af4 (patch) | |
tree | 314633aad9b3d50653c0319732963cf50dd8eb03 /auto.def | |
parent | 5390d57487b0bc2cd6ff736f50e0acbbdb6c03e7 (diff) | |
download | jimtcl-52188593fcbbbbe72b81814d6d2ae11d13202af4.zip jimtcl-52188593fcbbbbe72b81814d6d2ae11d13202af4.tar.gz jimtcl-52188593fcbbbbe72b81814d6d2ae11d13202af4.tar.bz2 |
Make identification of nan and inf more robust
Use isinf() and isnan() when converting double to string
to ensure that the value is given canonical form.
And implement our own isinf and isnan if necessary
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -97,7 +97,7 @@ cc-check-functions ualarm lstat fork vfork system select execvpe cc-check-functions backtrace geteuid mkstemp realpath strptime isatty cc-check-functions regcomp waitpid sigaction sys_signame sys_siglist isascii cc-check-functions syslog opendir readlink sleep usleep pipe getaddrinfo utimes -cc-check-functions shutdown socketpair +cc-check-functions shutdown socketpair isinf isnan if {[cc-check-functions sysinfo]} { cc-with {-includes sys/sysinfo.h} { |