about summary refs log tree commit diff
path: root/REORG.TODO/include/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/include/math.h')
-rw-r--r--REORG.TODO/include/math.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/REORG.TODO/include/math.h b/REORG.TODO/include/math.h
new file mode 100644
index 0000000000..a069680233
--- /dev/null
+++ b/REORG.TODO/include/math.h
@@ -0,0 +1,60 @@
+#ifndef	_MATH_H
+
+#ifdef _ISOMAC
+# undef NO_LONG_DOUBLE
+# undef _Mlong_double_
+#endif
+
+#include <math/math.h>
+
+#ifndef _ISOMAC
+/* Now define the internal interfaces.  */
+extern int __matherr (struct exception *__exc);
+
+extern int __signgam;
+
+# if IS_IN (libc) || IS_IN (libm)
+hidden_proto (__finite)
+hidden_proto (__isinf)
+hidden_proto (__isnan)
+hidden_proto (__finitef)
+hidden_proto (__isinff)
+hidden_proto (__isnanf)
+
+#  ifndef __NO_LONG_DOUBLE_MATH
+hidden_proto (__finitel)
+hidden_proto (__isinfl)
+hidden_proto (__isnanl)
+#  endif
+
+#  if __HAVE_DISTINCT_FLOAT128
+hidden_proto (__finitef128)
+hidden_proto (__isinff128)
+hidden_proto (__isnanf128)
+#  endif
+# endif
+
+libm_hidden_proto (__fpclassify)
+libm_hidden_proto (__fpclassifyf)
+libm_hidden_proto (__issignaling)
+libm_hidden_proto (__issignalingf)
+libm_hidden_proto (__exp)
+libm_hidden_proto (__expf)
+libm_hidden_proto (roundeven)
+
+# ifndef __NO_LONG_DOUBLE_MATH
+libm_hidden_proto (__fpclassifyl)
+libm_hidden_proto (__issignalingl)
+libm_hidden_proto (__expl)
+libm_hidden_proto (__expm1l)
+# endif
+
+# if __HAVE_DISTINCT_FLOAT128
+libm_hidden_proto (__fpclassifyf128)
+libm_hidden_proto (__issignalingf128)
+libm_hidden_proto (__expf128)
+libm_hidden_proto (__expm1f128)
+# endif
+
+#endif
+#endif