aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gmp.h23
-rw-r--r--include/setjmp.h3
2 files changed, 26 insertions, 0 deletions
diff --git a/include/gmp.h b/include/gmp.h
new file mode 100644
index 0000000..ff26658
--- /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
diff --git a/include/setjmp.h b/include/setjmp.h
index 44dae78..5093ff7 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -12,4 +12,7 @@ extern void __longjmp (__jmp_buf __env, int __val)
This is used by the machine-dependent definition of `__sigsetjmp'.
Always returns zero, for convenience. */
extern int __sigjmp_save (jmp_buf __env, int __savemask);
+
+extern void _longjmp_unwind (jmp_buf env, int val);
+
#endif