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

[Scheme-reports] Complex numbers with infinities and NaN

Another question:
Should (make-rectangular x y) be allowed if x and/or y are +inf, -inf
or NaN, in any combination and what about make-polar?
Gambit, for example, disallows these.

The draft doesn't mention anything about these "special values" in the
description of the other numerical procedures either.

"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