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> 4 5 #ifndef __GMP_H__ 6 7 #include <stdlib/gmp.h> 8 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); 13 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); 17 18 extern float __mpn_construct_float (mp_srcptr frac_ptr, int expt, int sign); 19 20 extern double __mpn_construct_double (mp_srcptr frac_ptr, int expt, 21 int negative); 22 23 extern long double __mpn_construct_long_double (mp_srcptr frac_ptr, int expt, 24 int sign); 25 26 27 #endif 28