[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Numerical example (real? -2.5+0.0i)

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@x
die young,                                      http://www.ccil.org/~cowan
rot quickly.

Scheme-reports mailing list