Back to index

glibc  2.9
gmp.h
Go to the documentation of this file.
00001 /* Include gmp-mparam.h first, such that definitions of _SHORT_LIMB
00002    and _LONG_LONG_LIMB in it can take effect into gmp.h.  */
00003 #include <gmp-mparam.h>
00004 
00005 #ifndef __GMP_H__
00006 
00007 #include <stdlib/gmp.h>
00008 
00009 /* Now define the internal interfaces.  */
00010 extern mp_size_t __mpn_extract_double (mp_ptr res_ptr, mp_size_t size,
00011                                    int *expt, int *is_neg,
00012                                    double value);
00013 
00014 extern mp_size_t __mpn_extract_long_double (mp_ptr res_ptr, mp_size_t size,
00015                                        int *expt, int *is_neg,
00016                                        long double value);
00017 
00018 extern float __mpn_construct_float (mp_srcptr frac_ptr, int expt, int sign);
00019 
00020 extern double __mpn_construct_double (mp_srcptr frac_ptr, int expt,
00021                                   int negative);
00022 
00023 extern long double __mpn_construct_long_double (mp_srcptr frac_ptr, int expt,
00024                                           int sign);
00025 
00026 
00027 #endif