aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2018-08-01 00:49:39 -0700
committerPaul Eggert2018-08-01 00:51:55 -0700
commit6e37d2fd05bea373c472af1c6e80238ace5e1c94 (patch)
tree9c3090ba9e3bdb682b7702d64db98581befe1009 /doc
parente28a37438d4ba71cd8a053e956686ab29ff97b6a (diff)
downloademacs-6e37d2fd05bea373c472af1c6e80238ace5e1c94.tar.gz
emacs-6e37d2fd05bea373c472af1c6e80238ace5e1c94.zip
Read and print NaN significand if <ieee754.h>
* configure.ac: Check for ieee754.h. * doc/lispref/numbers.texi (Float Basics): Document that NaN string representation digits are machine-dependent. * etc/NEWS: Mention the change. * src/lread.c, src/print.c [HAVE_IEEE754_H]: Include ieee754.h. * src/lread.c (string_to_number) [HAVE_IEEE754_H]: * src/print.c (float_to_string) [HAVE_IEEE754_H]: Read and print NaN significand.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/numbers.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/numbers.texi b/doc/lispref/numbers.texi
index 14d5059ffb3..a3317c9a260 100644
--- a/doc/lispref/numbers.texi
+++ b/doc/lispref/numbers.texi
@@ -241,7 +241,7 @@ A NaN is never numerically equal to any value, not even to itself.
241NaNs carry a sign and a significand, and non-numeric functions treat 241NaNs carry a sign and a significand, and non-numeric functions treat
242two NaNs as equal when their 242two NaNs as equal when their
243signs and significands agree. Significands of NaNs are 243signs and significands agree. Significands of NaNs are
244machine-dependent and are not directly visible to Emacs Lisp. 244machine-dependent, as are the digits in their string representation.
245 245
246 When NaNs and signed zeros are involved, non-numeric functions like 246 When NaNs and signed zeros are involved, non-numeric functions like
247@code{eql}, @code{equal}, @code{sxhash-eql}, @code{sxhash-equal} and 247@code{eql}, @code{equal}, @code{sxhash-eql}, @code{sxhash-equal} and