Re: [Scheme-reports] Numerical example (real? -2.5+0.0i) Andre van Tonder (15 Aug 2011 20:32 UTC)
Re: [Scheme-reports] Numerical example (real? -2.5+0.0i) Aubrey Jaffer (16 Aug 2011 17:29 UTC)
Re: [Scheme-reports] Numerical example (real? -2.5+0.0i) Andre van Tonder (16 Aug 2011 20:03 UTC)
Re: [Scheme-reports] Numerical example (real? -2.5+0.0i) Aubrey Jaffer (18 Aug 2011 16:02 UTC)
Re: [Scheme-reports] Numerical example (real? -2.5+0.0i) Aubrey Jaffer (02 Oct 2011 03:03 UTC)
Re: [Scheme-reports] Numerical example (real? -2.5+0.0i) Aubrey Jaffer (03 Oct 2011 02:09 UTC)

Re: [Scheme-reports] Numerical example (real? -2.5+0.0i) Aubrey Jaffer 02 Oct 2011 03:02 UTC

 | Date: Sat, 1 Oct 2011 22:13:20 -0400
 | From: John Cowan <cowan@mercury.ccil.org>
 |
 | 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.

All real numbers are complex numbers.  This derives from their
mathematical definitions.

 | 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.

Shouldn't the predicates REAL? and COMPLEX? implement the mathematical
semantics for which they are named?

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