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

Re: arithmetic issues



Aubrey Jaffer <agj@xxxxxxxxxxxx> writes:

> So I would prefer the (/ 0. 0.) option because I think it will arise
> rarely, if ever.

The tradition of Lisp and Scheme is to use the same notation for
constants in the program source and for the textual representation
produced by the printer, as much as it's practical (i.e. excluding
objects which are "active" rather than being pure values).

Therefore I see no reason to reject as a NaN literal the same textual
form which is used when it's printed.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak@xxxxxxxxxx
    ^^     http://qrnik.knm.org.pl/~qrczak/