summaryrefslogtreecommitdiff
path: root/gmp-impl.h
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2002-04-11 00:35:42 +0200
committertege <tege@gmplib.org>2002-04-11 00:35:42 +0200
commitfcfe34075d31ab9712bd31e9b5820bf8e8004150 (patch)
tree2d0283f22268364bb5164b9ebd78213fdef5b479 /gmp-impl.h
parentefe4090fe42d3af93b6426d299f3d725b8699939 (diff)
downloadgmp-fcfe34075d31ab9712bd31e9b5820bf8e8004150.tar.gz
(MODLIMB_INVERSE_3): Nailify.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r--gmp-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmp-impl.h b/gmp-impl.h
index 94a9f12bb..366236396 100644
--- a/gmp-impl.h
+++ b/gmp-impl.h
@@ -2014,7 +2014,7 @@ __GMP_DECLSPEC extern const unsigned char modlimb_invert_table[128];
/* Multiplicative inverse of 3, modulo 2^BITS_PER_MP_LIMB.
0xAAAAAAAB for 32 bits, 0xAAAAAAAAAAAAAAAB for 64 bits. */
-#define MODLIMB_INVERSE_3 ((MP_LIMB_T_MAX / 3) * 2 + 1)
+#define MODLIMB_INVERSE_3 ((GMP_NUMB_MAX / 3) * 2 + 1)
/* Set r to -a mod d. a>=d is allowed. Can give r>d. All should be limbs.