Fredrik Noring scripsit:

> May I ask why R7RS seems to limit the gcd function to integers? I'm
> wondering since gcd extends to complex numbers,

It extends to Gaussian integers (complex numbers whose real and imaginary
parts are both integers), but there is no support for those in Scheme
except as a subset of the general complex numbers.

Writing a SRFI for Gaussian integers would be a Good Thing.

-- 
John Cowan          http://www.ccil.org/~cowan        [email protected]
Clear?  Huh!  Why a four-year-old child could understand this report.
Run out and find me a four-year-old child.  I can't make head or tail
out of it.        --Rufus T. Firefly on government reports

_______________________________________________
Scheme-reports mailing list
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to