aboutsummaryrefslogtreecommitdiff
path: root/include/gmp.h
blob: ff26658d936fedc87ba0c4e4b50da49d27cea34c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __GMP_H__

#include <stdlib/gmp.h>

/* Now define the internal interfaces.  */
extern mp_size_t __mpn_extract_double (mp_ptr res_ptr, mp_size_t size,
				       int *expt, int *is_neg,
				       double value);

extern mp_size_t __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
					    int *expt, int *is_neg,
					    long double value);

extern float __mpn_construct_float (mp_srcptr frac_ptr, int expt, int sign);

extern double __mpn_construct_double (mp_srcptr frac_ptr, int expt,
				      int negative);

extern long double __mpn_construct_long_double (mp_srcptr frac_ptr, int expt,
						int sign);


#endif