summaryrefslogtreecommitdiff
path: root/MLKInteger.m
diff options
context:
space:
mode:
Diffstat (limited to 'MLKInteger.m')
-rw-r--r--MLKInteger.m6
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
{