summaryrefslogtreecommitdiff
path: root/mpf
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-05-17 01:06:58 +0200
committerKevin Ryde <user42@zip.com.au>2001-05-17 01:06:58 +0200
commit5540dca4d832ec301bb3dcfe9bf0cc4b4d4a45bb (patch)
tree225c312476075dfd4c1ae272719e3f7a1a418cd5 /mpf
parentc339d958d63a741ae975720e65969d3d7be3f353 (diff)
downloadgmp-5540dca4d832ec301bb3dcfe9bf0cc4b4d4a45bb.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')
-rw-r--r--mpf/set_prc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpf/set_prc.c b/mpf/set_prc.c
index 057684b89..cca6e4451 100644
--- a/mpf/set_prc.c
+++ b/mpf/set_prc.c
@@ -31,7 +31,7 @@ mpf_set_prec (mpf_ptr x, unsigned long int prec_in_bits)
/* Do nothing if we're already the right precision. This can arise if an
application is gradually increasing or decreasing its requested minimum
precision. */
- prec = MPF_BITS_TO_PREC (prec_in_bits);
+ prec = __GMPF_BITS_TO_PREC (prec_in_bits);
if (prec == PREC(x))
return;