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

Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0

John Cowan <cowan@x> writes:

> Mark H Weaver scripsit:
>> Common Lisp, and (as far as I can tell) Wolfram Alpha do not keep track
>> of the exactness of their results, so they can simply turn 1.0+0.0i
>> into 1.0.
> ANSI CL forbids that behavior.  5 and 5+0i are required to be
> the same object, whereas 5.0 and 5.0+0.0i are required to be different
> objects.

Apologies, I stand corrected.  My knowledge of CL is quite limited.


Scheme-reports mailing list