diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2017-02-08 09:24:46 +0100 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2017-02-08 09:24:46 +0100 |
commit | 75c28aee1763192fc8133d84a888ef072ceab132 (patch) | |
tree | 60b0704a9f4c251f77da188d7568b8371af0dd0d /mpf | |
parent | 8f14bf574c17a1d47d0a1e2b710e5ba77f28c4f5 (diff) | |
download | gmp-75c28aee1763192fc8133d84a888ef072ceab132.tar.gz |
mpf/set_str.c: Use TMP_ALLOC_LIMBS_2
Diffstat (limited to 'mpf')
-rw-r--r-- | mpf/set_str.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mpf/set_str.c b/mpf/set_str.c index 3aa4ae452..4dd18d8f3 100644 --- a/mpf/set_str.c +++ b/mpf/set_str.c @@ -324,8 +324,7 @@ mpf_set_str (mpf_ptr x, const char *str, int base) } ra = 2 * (prec + 1); - rp = TMP_ALLOC_LIMBS (ra); - tp = TMP_ALLOC_LIMBS (ra); + TMP_ALLOC_LIMBS_2 (rp, ra, tp, ra); rn = mpn_pow_1_highpart (rp, &radj, (mp_limb_t) base, exp_in_base, prec, tp); if (divflag) |