Hi

It appears what valid arguments are for gcd and lcm are undefined. Should 
rationals be allowed or is this behavior unspecified?

Most Scheme's (R6RS and otherwise) seems to choke on the following:

(lcm 12/5 6 4)
and
(gcd 12/5 6 4)

If indeed that should be allowed, can the behaviour be described? (I get 12 
and 2/5 respectively).


cheers

leppie

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


_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to