mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-15 01:21:06 +00:00
3be9dc8e14
* include/gmp.h: Include/gmp-mparam.h. * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and gmp-impl.h. 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
28 lines
789 B
C
28 lines
789 B
C
/* 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
|