Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0
Mark H Weaver 15 Dec 2012 20:55 UTC
John Cowan <cowan@mercury.ccil.org> 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 12.1.5.3 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.
Thanks,
Mark
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports