[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] Complex numbers with infinities and NaN
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@x
I am large, I contain multitudes.               http://www.ccil.org/~cowan
        --Walt Whitman, Leaves of Grass
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports