Re: [Scheme-reports] *TELUS Detected Spam*Re: Fwd: Missing description of complex polar form
Vincent Manis 01 May 2011 14:28 UTC
On 2011-05-01, at 06:58, Aaron W. Hsu wrote:
> WRITE and NUMBER->STRING should both do this. Both are required to produce
> the external representation of a number. If a number is polar, then it's
> external representation is in the real@real notation, and you will get
> that form.
I don't understand this. Polar and rectangular are external representations, are they not? Does a Scheme implementation have to flag complex numbers by their representation? What happens when you mix the two kinds of numbers?
utopia:~ vmanis$ gsi
Gambit v4.6.1
> 1@2
-.4161468365471424+.9092974268256817i
> (+ 2+3i 4@5)
3.134648741852905-.8356970986525538i
-- vincent
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports