Hi all, I'm confused about the behaviour of some procedures with respect to NaN and infinity. In the report it's explicitly stated that the comparison functions >, <, =, >= and <= should all return #f if any of their arguments are +nan.0 but what should min and max return?
For example (max +inf.0 +nan.0), should this return +inf.0 (which is the biggest number possible), or should it return +nan.0? What should the value of the various trig functions be given nan/inf values? Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth _______________________________________________ Scheme-reports mailing list [email protected] http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports
