[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 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@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports