26 maj 2014 kl. 20:20 skrev John Cowan <[email protected]>: > Correct. `gcd` and those like it are applicable to both exact and inexact > integers, but not to non-integers exact or inexact, and in Scheme (as in > mathematics generally) the integers are a subset of the reals.
Divisibility, and in this case, a greatest common divisor, is equally valid for complex integers in a mathematical sense. One can, of course, choose to disregard this property. > It would be a library of procedures applicable to Gaussian integers > specifically, where the standard procedures can't handle them, or produce > the wrong results, or do not yet exist. Not being a mathematician, > I can't say what procedures should be provided. Thanks for the clarification! All the best, Fredrik _______________________________________________ Scheme-reports mailing list [email protected] http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports
