aboutsummaryrefslogtreecommitdiff
path: root/include/gmp.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-05 17:34:28 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-05 17:34:28 +0000
commit48896b9dba83e158691073b248cbcdd68e0752f6 (patch)
treeebdd9b0ba208b1e0261b60e2729b0540d110e011 /include/gmp.h
parentb8e5ab66236ba881fbf55a03364078c571058359 (diff)
downloadglibc-48896b9dba83e158691073b248cbcdd68e0752f6.tar
glibc-48896b9dba83e158691073b248cbcdd68e0752f6.tar.gz
glibc-48896b9dba83e158691073b248cbcdd68e0752f6.tar.bz2
glibc-48896b9dba83e158691073b248cbcdd68e0752f6.zip
Update.
2000-12-05 Andreas Jaeger <aj@suse.de> * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as internal_function. * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise. * sysdeps/generic/dl-cache.c: Remove declaration of _dl_sysdep_read_whole_file. * elf/dl-load.c (_dl_map_object): Remove declaration of _dl_load_cache_lookup. * sysdeps/generic/ldsodefs.h: Add declarations of _dl_load_cache_lookup, _dl_unload_cache, _dl_sysdep_read_whole_file, _dl_sysdep_start and _dl_sysdep_start_cleanup. * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h now. * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes. * sysdeps/generic/dl-environ.c: Likewise. * stdio-common/printf_fp.c: Include <gmp.h> instead of <stdlib/gmp.h>. * math/atest-exp.c: Likewise. * math/atest-exp2.c: Likewise. * math/atest-sincos.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdio-common/_itowa.c: Likewise. * include/gmp.h: New file with internal prototypes. * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from here to... * include/setjmp.h: ...here. * locale/Makefile (routines): Remove codeset_name since it's not needed anywhere. * locale/codeset_name.c: Removed.
Diffstat (limited to 'include/gmp.h')
-rw-r--r--include/gmp.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/gmp.h b/include/gmp.h
new file mode 100644
index 0000000000..ff26658d93
--- /dev/null
+++ b/include/gmp.h
@@ -0,0 +1,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