Re: [Scheme-reports] Numerical example (real? -2.5+0.0i)
John Cowan 02 Oct 2011 02:13 UTC
John Cowan scripsit:
> That's reasonable: in fact, SCM doesn't support exact/exact complex
> numbers either, which is perfectly fine. It just means that no
> general complex number can be real.
I've filed a ticket to add the R6RS `real-valued`, `rational-valued`,
and `integer-valued` procedures to R7RS: they have the R5RS semantics
around non-real numbers with inexact zero imaginary parts, though R6RS
doesn't explicitly say so.
--
Work hard, John Cowan
play hard, cowan@ccil.org
die young, http://www.ccil.org/~cowan
rot quickly.
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports