diff options
Diffstat (limited to 'set_prc_raw.c')
-rw-r--r-- | set_prc_raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/set_prc_raw.c b/set_prc_raw.c index bda276b88..841662445 100644 --- a/set_prc_raw.c +++ b/set_prc_raw.c @@ -37,7 +37,7 @@ mpfr_set_prec_raw (x, p) fprintf(stderr, "*** cannot set precision to 0 bits\n"); exit(1); } - if (p > ABSSIZE * BITS_PER_MP_LIMB) { + if (p > ABSSIZE(x) * BITS_PER_MP_LIMB) { fprintf(stderr, "*** precision too large for allocated space\n"); exit(1); } |