diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2009-11-28 12:57:53 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2009-11-28 12:57:53 +0100 |
commit | 4fab69d02817734bc7e21e6c3f61bd3098b3b394 (patch) | |
tree | 0a43f3246a49a0a04fba10900dcea1868c208578 /mpq | |
parent | 2c639d5f1b78f47267eecfca5396a0eabc7ea5e9 (diff) | |
download | gmp-4fab69d02817734bc7e21e6c3f61bd3098b3b394.tar.gz |
Finish renaming BITS_PER_MP_LIMB to GMP_LIMB_BITS.
Diffstat (limited to 'mpq')
-rw-r--r-- | mpq/get_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpq/get_str.c b/mpq/get_str.c index 4079a933b..68ca34f6f 100644 --- a/mpq/get_str.c +++ b/mpq/get_str.c @@ -37,7 +37,7 @@ mpq_get_str (char *str, int base, mpq_srcptr q) the high limbs of num and den are used. +2 for rounding up the chars per bit of num and den. +3 for sign, slash and '\0'. */ str_alloc = ((size_t) ((ABS (q->_mp_num._mp_size) + q->_mp_den._mp_size) - * BITS_PER_MP_LIMB + * GMP_LIMB_BITS * mp_bases[ABS(base)].chars_per_bit_exactly)) + 5; str = (char *) (*__gmp_allocate_func) (str_alloc); |