Sun, 07 May 2000 18:23:33 +0000, Sebastian Schulz <[EMAIL PROTECTED]> pisze:

> where ggt is a function which calculates the biggest common divisor

It is already in Prelude under the name gcd.

> I thought that it is no Problem to use the '/' operator with two Ints.

(/) does not work on Ints. You can use `div` or `quot`, which
both yield the same result in this case (they differ in that
(-123) `div` 10 == -13, (-123) `quot` 10 == -12).

-- 
 __("<    Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/              GCS/M d- s+:-- a23 C+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                  W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-


Reply via email to