[r6rs-discuss] Error in imag-part example?

Llewellyn Pritchard leppie at wdsl.co.za
Sat Mar 29 14:29:22 EDT 2008


Hi

The example shows the following:

(imag-part 1.1+2.2i) => 2.2i ; approximately

but

the definition states:

(imag-part z) returns a2

where

z = a1 + a2i

So, should the imag-part return the value as a real or a complex? 2.2 or 
2.2i ?

cheers

leppie

http://www.codeplex.com/IronScheme
http://xacc.wordpress.com 




More information about the r6rs-discuss mailing list