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

Re: [Scheme-reports] Implied equality



Biep scripsit:

> But in that case the equations for make-polar are false, aren't they?
> z may be exact on input and inexact on output.

Well, yes.  But that point is made immediately thereafter, and extends
only to the representation of numbers as exact or inexact, not to the
numbers themselves.  Furthermore, it is not a necessary truth: Pure
(which shares Scheme's numeric tower) has both rectangular and polar
representations of complex numbers internally, so the equivalent of
(make-polar x3 x4), namely x3 <: x4, can return an exact value for
exact arguments in the appropriate range.

-- 
John Cowan                                cowan@x
At times of peril or dubitation,          http://www.ccil.org/~cowan
Perform swift circular ambulation,
With loud and high-pitched ululation.

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