diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-15 23:06:18 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-06-15 23:06:18 +0200 |
commit | e8ac596e3cfb1b8ee0b636def0ef1c1005f3957d (patch) | |
tree | 7a0d6b80a945a826ec8b81a6435928dc4803aa5b /MLKInteger.m | |
parent | ebda48e66584c562d3c1f44693b0041fca36e926 (diff) |
Add class MLKRatio.
Diffstat (limited to 'MLKInteger.m')
-rw-r--r-- | MLKInteger.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MLKInteger.m b/MLKInteger.m index 95b2e4a..7239f0b 100644 --- a/MLKInteger.m +++ b/MLKInteger.m @@ -61,9 +61,9 @@ integerWithMPZ:) DEFINE_MPZ_TWOARG_OPERATION (add:, mpz_add) -DEFINE_MPZ_TWOARG_OPERATION (subtract:, mpz_add) -DEFINE_MPZ_TWOARG_OPERATION (multiplyWith:, mpz_add) -DEFINE_MPZ_TWOARG_OPERATION (divideBy:, mpz_add) +DEFINE_MPZ_TWOARG_OPERATION (subtract:, mpz_sub) +DEFINE_MPZ_TWOARG_OPERATION (multiplyWith:, mpz_mul) +DEFINE_MPZ_TWOARG_OPERATION (divideBy:, mpz_div) -(int) intValue { |