File: gmp.h

package info (click to toggle)
glibc 2.24-11+deb9u4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 225,852 kB
  • sloc: ansic: 996,505; asm: 261,827; sh: 10,484; makefile: 9,856; cpp: 4,169; python: 3,971; perl: 2,254; awk: 1,753; pascal: 1,521; yacc: 291; sed: 80
file content (27 lines) | stat: -rw-r--r-- 789 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Include gmp-mparam.h first, such that definitions of _SHORT_LIMB
   and _LONG_LONG_LIMB in it can take effect into gmp.h.  */
#include <gmp-mparam.h>

#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