Linux: Assume and consolidate shutdown wire-up syscall
[glibc.git] / include / gmp.h
blob791900b2cbb4c40c1b33a03b82c83b9d3f69ce52
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 #include <bits/floatn.h>
11 #ifndef _ISOMAC
12 /* Now define the internal interfaces. */
13 extern mp_size_t __mpn_extract_double (mp_ptr res_ptr, mp_size_t size,
14 int *expt, int *is_neg,
15 double value) attribute_hidden;
17 extern mp_size_t __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
18 int *expt, int *is_neg,
19 long double value)
20 attribute_hidden;
22 #if __HAVE_DISTINCT_FLOAT128
23 extern mp_size_t __mpn_extract_float128 (mp_ptr res_ptr, mp_size_t size,
24 int *expt, int *is_neg,
25 _Float128 value)
26 attribute_hidden;
27 #endif
29 extern float __mpn_construct_float (mp_srcptr frac_ptr, int expt, int sign)
30 attribute_hidden;
32 extern double __mpn_construct_double (mp_srcptr frac_ptr, int expt,
33 int negative) attribute_hidden;
35 extern long double __mpn_construct_long_double (mp_srcptr frac_ptr, int expt,
36 int sign)
37 attribute_hidden;
39 #if __HAVE_DISTINCT_FLOAT128
40 extern _Float128 __mpn_construct_float128 (mp_srcptr frac_ptr, int expt,
41 int sign) attribute_hidden;
42 #endif
44 #endif
46 #endif