.
[glibc/history.git] / include / gmp.h
blobb74167097d91549fc01b478fdcdaae08c3036c71
1 /* Include gmp-mparam.h first, such that definitions of _SHORT_LIMB
2 and _LONG_LONG_LIMB in it can take effect into gmp.h. */
3 #include <gmp-mparam.h>
5 #ifndef __GMP_H__
7 #include <stdlib/gmp.h>
9 /* Now define the internal interfaces. */
10 extern mp_size_t __mpn_extract_double (mp_ptr res_ptr, mp_size_t size,
11 int *expt, int *is_neg,
12 double value);
14 extern mp_size_t __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
15 int *expt, int *is_neg,
16 long double value);
18 extern float __mpn_construct_float (mp_srcptr frac_ptr, int expt, int sign);
20 extern double __mpn_construct_double (mp_srcptr frac_ptr, int expt,
21 int negative);
23 extern long double __mpn_construct_long_double (mp_srcptr frac_ptr, int expt,
24 int sign);
27 #endif