Re: [Scheme-reports] Complex numbers with infinities and NaN
John Cowan 24 Aug 2011 20:59 UTC
Peter Bex scripsit:
> 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 arguments of both procedures are real numbers, and +inf.0, -inf.0,
and +nan.0 are real numbers, so they should work.
--
Do I contradict myself? John Cowan
Very well then, I contradict myself. cowan@ccil.org
I am large, I contain multitudes. http://www.ccil.org/~cowan
--Walt Whitman, Leaves of Grass
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports