diff options
Diffstat (limited to 'stack_interface.c')
-rw-r--r-- | stack_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stack_interface.c b/stack_interface.c index d7c6336c2..b4ef6836a 100644 --- a/stack_interface.c +++ b/stack_interface.c @@ -26,7 +26,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., size_t mpfr_custom_get_size (mp_prec_t prec) { - return (prec + GMP_LIMB_BITS -1) / GMP_LIMB_BITS * BYTES_PER_MP_LIMB; + return (prec + GMP_NUMB_BITS -1) / GMP_NUMB_BITS * BYTES_PER_MP_LIMB; } #undef mpfr_custom_init |