[r6rs-discuss] [Formal] Formal Comment: NaN should be considered a number, not a real

From: John Cowan <cowan>
Date: Wed, 20 Jun 2007 23:28:57 -0400

Arthur Smyles scripsit:

> If you treat a NaN as a number that is not complex, it will solve the
> performance issues stated in formal comment 143. It will also address
> formal comment 230, which will make reals conform to mathematical usage.
> It will also conform with IEEE-754.

Reality trumps theory here: people who use inexact complex numbers
expect to be able to handle numbers with real or imaginary parts or
both that are NaN.

-- 
But the next day there came no dawn,            John Cowan
and the Grey Company passed on into the         cowan at ccil.org
darkness of the Storm of Mordor and were        http://www.ccil.org/~cowan
lost to mortal sight; but the Dead
followed them.          --"The Passing of the Grey Company"
Received on Wed Jun 20 2007 - 23:28:57 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC