emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/numbers.texi


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lispref/numbers.texi
Date: Sun, 02 Nov 2003 01:46:31 -0500

Index: emacs/lispref/numbers.texi
diff -c emacs/lispref/numbers.texi:1.28 emacs/lispref/numbers.texi:1.29
*** emacs/lispref/numbers.texi:1.28     Mon Oct 20 21:56:45 2003
--- emacs/lispref/numbers.texi  Sun Nov  2 01:29:58 2003
***************
*** 163,174 ****
  value is 1500.  They are all equivalent.  You can also use a minus sign
  to write negative floating point numbers, as in @samp{-1.0}.
  
! @cindex IEEE floating point
  @cindex positive infinity
  @cindex negative infinity
  @cindex infinity
  @cindex NaN
!    Most modern computers support the IEEE floating point standard, which
  provides for positive infinity and negative infinity as floating point
  values.  It also provides for a class of values called NaN or
  ``not-a-number''; numerical functions return such values in cases where
--- 163,174 ----
  value is 1500.  They are all equivalent.  You can also use a minus sign
  to write negative floating point numbers, as in @samp{-1.0}.
  
! @cindex @acronym{IEEE} floating point
  @cindex positive infinity
  @cindex negative infinity
  @cindex infinity
  @cindex NaN
!    Most modern computers support the @acronym{IEEE} floating point standard, 
which
  provides for positive infinity and negative infinity as floating point
  values.  It also provides for a class of values called NaN or
  ``not-a-number''; numerical functions return such values in cases where
***************
*** 189,195 ****
  @end table
  
    In addition, the value @code{-0.0} is distinguishable from ordinary
! zero in IEEE floating point (although @code{equal} and @code{=} consider
  them equal values).
  
    You can use @code{logb} to extract the binary exponent of a floating
--- 189,195 ----
  @end table
  
    In addition, the value @code{-0.0} is distinguishable from ordinary
! zero in @acronym{IEEE} floating point (although @code{equal} and @code{=} 
consider
  them equal values).
  
    You can use @code{logb} to extract the binary exponent of a floating
***************
*** 565,571 ****
  @cindex @code{arith-error} in division
  If you divide an integer by 0, an @code{arith-error} error is signaled.
  (@xref{Errors}.)  Floating point division by zero returns either
! infinity or a NaN if your machine supports IEEE floating point;
  otherwise, it signals an @code{arith-error} error.
  
  @example
--- 565,571 ----
  @cindex @code{arith-error} in division
  If you divide an integer by 0, an @code{arith-error} error is signaled.
  (@xref{Errors}.)  Floating point division by zero returns either
! infinity or a NaN if your machine supports @acronym{IEEE} floating point;
  otherwise, it signals an @code{arith-error} error.
  
  @example
***************
*** 1166,1172 ****
  
  If you want random numbers that don't always come out the same, execute
  @code{(random t)}.  This chooses a new seed based on the current time of
! day and on Emacs's process @sc{id} number.
  
  @defun random &optional limit
  This function returns a pseudo-random integer.  Repeated calls return a
--- 1166,1172 ----
  
  If you want random numbers that don't always come out the same, execute
  @code{(random t)}.  This chooses a new seed based on the current time of
! day and on Emacs's process @acronym{ID} number.
  
  @defun random &optional limit
  This function returns a pseudo-random integer.  Repeated calls return a
***************
*** 1176,1182 ****
  nonnegative and less than @var{limit}.
  
  If @var{limit} is @code{t}, it means to choose a new seed based on the
! current time of day and on Emacs's process @sc{id} number.
  @c "Emacs'" is incorrect usage!
  
  On some machines, any integer representable in Lisp may be the result
--- 1176,1182 ----
  nonnegative and less than @var{limit}.
  
  If @var{limit} is @code{t}, it means to choose a new seed based on the
! current time of day and on Emacs's process @acronym{ID} number.
  @c "Emacs'" is incorrect usage!
  
  On some machines, any integer representable in Lisp may be the result




reply via email to

[Prev in Thread] Current Thread [Next in Thread]