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#include <bits/floatn.h>
10
11#ifndef _ISOMAC
12/* Now define the internal interfaces. */
13extern 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;
16
17extern 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;
21
22#if __HAVE_DISTINCT_FLOAT128
23extern 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
28
29extern float __mpn_construct_float (mp_srcptr frac_ptr, int expt, int sign)
30 attribute_hidden;
31
32extern double __mpn_construct_double (mp_srcptr frac_ptr, int expt,
33 int negative) attribute_hidden;
34
35extern long double __mpn_construct_long_double (mp_srcptr frac_ptr, int expt,
36 int sign)
37 attribute_hidden;
38
39#if __HAVE_DISTINCT_FLOAT128
40extern _Float128 __mpn_construct_float128 (mp_srcptr frac_ptr, int expt,
41 int sign) attribute_hidden;
42#endif
43
44extern __typeof (mpn_add_1) mpn_add_1 attribute_hidden;
45extern __typeof (mpn_addmul_1) mpn_addmul_1 attribute_hidden;
46extern __typeof (mpn_add_n) mpn_add_n attribute_hidden;
47extern __typeof (mpn_cmp) mpn_cmp attribute_hidden;
48extern __typeof (mpn_divrem) mpn_divrem attribute_hidden;
49extern __typeof (mpn_lshift) mpn_lshift attribute_hidden;
50extern __typeof (mpn_mul) mpn_mul attribute_hidden;
51extern __typeof (mpn_mul_1) mpn_mul_1 attribute_hidden;
52extern __typeof (mpn_rshift) mpn_rshift attribute_hidden;
53extern __typeof (mpn_sub_1) mpn_sub_1 attribute_hidden;
54extern __typeof (mpn_submul_1) mpn_submul_1 attribute_hidden;
55extern __typeof (mpn_sub_n) mpn_sub_n attribute_hidden;
56#endif
57
58#endif
59

source code of glibc/include/gmp.h