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

Re: arithmetic issues

This page is part of the web mail archives of SRFI 77 from before July 7th, 2015. The new archives for SRFI 77 contain all messages, not just those from before July 7th, 2015.

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/