bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Converting NaN to integer 0.


From: Luc Teirlinck
Subject: Re: Converting NaN to integer 0.
Date: Tue, 12 Feb 2002 10:54:15 -0600 (CST)

Eli Zaretskii wrote:

   On Sun, 10 Feb 2002, Luc Teirlinck wrote:

   > truncate, floor, ceiling and round all convert 0.0e+Nan to 0.  (See
   > the ielm run below.)

   Did you try that inside Emacs (e.g., with "M-:")?  I get a numeric
   exception when I do that, which is what I'd expect.  But my system is 
   different from yours, so perhaps the effect is system-dependent.

   I don't know what ielm does.

M-: produces exactly the same results as ielm on my system.
Does your system support NaN or infinities at all?



reply via email to

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