[r6rs-discuss] gcd & lcm argument requirements

Abdulaziz Ghuloum aghuloum at cs.indiana.edu
Sun Mar 23 15:04:50 EDT 2008


On Mar 23, 2008, at 7:53 AM, Llewellyn Pritchard wrote:

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

R6RS defines lcm and gcd as (gcd n_1 ...) and (lcm n_1 ...),
and n_1 is defined as an integer argument.

Aziz,,,



More information about the r6rs-discuss mailing list