[Scheme-reports] More NaN and Infsanity Peter Bex (28 Apr 2012 19:47 UTC)
Re: [Scheme-reports] More NaN and Infsanity John Cowan (28 Apr 2012 20:50 UTC)
Re: [Scheme-reports] More NaN and Infsanity Peter Bex (28 Apr 2012 21:05 UTC)
Re: [Scheme-reports] More NaN and Infsanity John Cowan (28 Apr 2012 21:14 UTC)

Re: [Scheme-reports] More NaN and Infsanity John Cowan 28 Apr 2012 21:13 UTC

Peter Bex scripsit:

> If fast is best, then (> 1.0 +nan.0 'some-symbol) should return #f.
> Currently, that's exactly what Chicken does and I consider it slightly
> broken but probably not important enough to fix.

That runs afoul of the R5RS requirement that < and friends be transitive,
which means that (> a b c) should always return the same as (> a c).
Still, I see it as no big deal, since (> 1.0 'symbol) is in "is an error"
territory anyway.

--
John Cowan    cowan@ccil.org    http://ccil.org/~cowan
If a traveler were informed that such a man [as Lord John Russell] was
leader of the House of Commons, he may well begin to comprehend how the
Egyptians worshiped an insect.  --Benjamin Disraeli

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports