summaryrefslogtreecommitdiff
path: root/mpf/set_prc_raw.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-05-17 01:08:05 +0200
committerKevin Ryde <user42@zip.com.au>2001-05-17 01:08:05 +0200
commit60b7883c6c8c2a7ef56ea0dbbc86127d985dc34e (patch)
tree3035b1c82ccdbd0d442c090f5e7c2ee4dbbbf600 /mpf/set_prc_raw.c
parent5540dca4d832ec301bb3dcfe9bf0cc4b4d4a45bb (diff)
downloadgmp-60b7883c6c8c2a7ef56ea0dbbc86127d985dc34e.tar.gz
* gmp-h.in (mpf_get_default_prec, mpf_get_prec, mpf_set_default_prec,
mpf_set_prec_raw): Provide "extern inline" versions, use __GMPF on the macros. * mpf/get_dfl_prc.c, mpf/get_prc.c, mpf/set_dfl_prc.c, mpf/set_prc_raw.c: Get code from gmp.h using __GMP_FORCE.
Diffstat (limited to 'mpf/set_prc_raw.c')
-rw-r--r--mpf/set_prc_raw.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mpf/set_prc_raw.c b/mpf/set_prc_raw.c
index f6f403279..a28a02f90 100644
--- a/mpf/set_prc_raw.c
+++ b/mpf/set_prc_raw.c
@@ -21,11 +21,7 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
+#define __GMP_FORCE_mpf_set_prec_raw 1
+
#include "gmp.h"
#include "gmp-impl.h"
-
-void
-mpf_set_prec_raw (mpf_ptr x, unsigned long int prec_in_bits)
-{
- x->_mp_prec = MPF_BITS_TO_PREC (prec_in_bits);
-}