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

Re: [Scheme-reports] *TELUS Detected Spam*Re: Fwd: Missing description of complex polar form

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
> (+ 2+3i 4@5)

-- vincent
Scheme-reports mailing list