mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-08 23:40:24 -08:00
Reorder NaN, INF paras
* doc/lispref/numbers.texi (Float Basics): Reorder paragraphs so that examples follow defns.
This commit is contained in:
parent
be501f468e
commit
01b80a6f0e
1 changed files with 6 additions and 6 deletions
|
|
@ -279,12 +279,6 @@ whether they are numerically equal. For example, when @var{x} and
|
||||||
conversely, @code{(equal 0.0 -0.0)} returns @code{nil} whereas
|
conversely, @code{(equal 0.0 -0.0)} returns @code{nil} whereas
|
||||||
@code{(= 0.0 -0.0)} returns @code{t}.
|
@code{(= 0.0 -0.0)} returns @code{t}.
|
||||||
|
|
||||||
Infinities and NaNs are not available on legacy systems that lack
|
|
||||||
IEEE floating-point arithmetic. On a circa 1980 VAX, for example,
|
|
||||||
Lisp reads @samp{1.0e+INF} as a large but finite floating-point number,
|
|
||||||
and @samp{0.0e+NaN} as some other non-numeric Lisp object that provokes an
|
|
||||||
error if used numerically.
|
|
||||||
|
|
||||||
Here are read syntaxes for these special floating-point values:
|
Here are read syntaxes for these special floating-point values:
|
||||||
|
|
||||||
@table @asis
|
@table @asis
|
||||||
|
|
@ -294,6 +288,12 @@ Here are read syntaxes for these special floating-point values:
|
||||||
@samp{0.0e+NaN} and @samp{-0.0e+NaN}
|
@samp{0.0e+NaN} and @samp{-0.0e+NaN}
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
Infinities and NaNs are not available on legacy systems that lack
|
||||||
|
IEEE floating-point arithmetic. On a circa 1980 VAX, for example,
|
||||||
|
Lisp reads @samp{1.0e+INF} as a large but finite floating-point number,
|
||||||
|
and @samp{0.0e+NaN} as some other non-numeric Lisp object that provokes an
|
||||||
|
error if used numerically.
|
||||||
|
|
||||||
The following functions are specialized for handling floating-point
|
The following functions are specialized for handling floating-point
|
||||||
numbers:
|
numbers:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue