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

This page is part of the web mail archives of SRFI 77 from before July 7th, 2015. The new archives for SRFI 77 contain all messages, not just those from before July 7th, 2015.

*To*: srfi-77@xxxxxxxxxxxxxxxxx*Subject*: Small omission*From*: Andre van Tonder <andre@xxxxxxxxxxxxxxxxxxx>*Date*: Wed, 5 Oct 2005 13:36:35 -0400 (EDT)*Delivered-to*: srfi-77@xxxxxxxxxxxxxxxxx*Reply-to*: Andre van Tonder <andre@xxxxxxxxxxxxxxxxxxx>

Just a small omission: The SRFI currently does not specify: - The behaviour of (real? z) if z is not a complex number. - The behaviour of (rational? x) if x is not a real number. - The behaviour of (integer? q) if q is not a rational number. This can be corrected by changing the current spec: "If z is a complex number, then `(real? z)' is true if and only if `(zero? (imag-part z))' and `(exact? (imag-part z))' are both true." to the following: "`(real? z)' is true if and only if z is a complex number and `(zero? (imag-part z))' and `(exact? (imag-part z))' are both true." and similar for the other two predicates. Andre

- Prev by Date:
**minor comments** - Next by Date:
**Mixing safe and unsafe code** - Previous by thread:
**minor comments** - Next by thread:
**Mixing safe and unsafe code** - Index(es):