diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-05-17 01:04:16 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-05-17 01:04:16 +0200 |
commit | c339d958d63a741ae975720e65969d3d7be3f353 (patch) | |
tree | 47932dbfaf4b826365aca7bf01a5a7c415faf3ad /mpf/init2.c | |
parent | 5f488025c4284b511958f60cb95de4e67a82b5a3 (diff) | |
download | gmp-c339d958d63a741ae975720e65969d3d7be3f353.tar.gz |
* gmp-h.in, gmp-impl.h (__gmp_default_fp_limb_precision): Move from
gmp-impl.h to gmp-h.in.
(__GMPF_BITS_TO_PREC, __GMPF_PREC_TO_BITS): Ditto, and use __GMPF
prefix and add a couple of casts.
* mpf/init2.c mpf/set_prc.c: Update for __GMPF prefix.
Diffstat (limited to 'mpf/init2.c')
-rw-r--r-- | mpf/init2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/init2.c b/mpf/init2.c index 40f4bfbc0..2568c3377 100644 --- a/mpf/init2.c +++ b/mpf/init2.c @@ -27,7 +27,7 @@ mpf_init2 (mpf_ptr r, unsigned long int prec_in_bits) { mp_size_t prec; - prec = MPF_BITS_TO_PREC (prec_in_bits); + prec = __GMPF_BITS_TO_PREC (prec_in_bits); r->_mp_d = (mp_ptr) (*__gmp_allocate_func) ((prec + 1) * BYTES_PER_MP_LIMB); r->_mp_prec = prec; r->_mp_size = 0; |