[Scheme-reports] Rounding procedures with inf/nan
Peter Bex 25 Mar 2012 15:05 UTC
Hello again,
What should happen when floor, ceiling, truncate or round get passed
+inf.0, -inf.0 or +nan.0?
The standard doesn't mention anything about these. There are a
few Schemes that report an error, but most seem to just return the
argument as-is. If this is deliberately unspecified, please mention
this in the report.
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
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports