aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2013-12-12 17:25:04 +1000
committerSteve Bennett <steveb@workware.net.au>2013-12-21 01:56:58 +1000
commit52188593fcbbbbe72b81814d6d2ae11d13202af4 (patch)
tree314633aad9b3d50653c0319732963cf50dd8eb03 /auto.def
parent5390d57487b0bc2cd6ff736f50e0acbbdb6c03e7 (diff)
downloadjimtcl-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.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index 5eeba85..645ad12 100644
--- a/auto.def
+++ b/auto.def
@@ -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} {