aboutsummaryrefslogtreecommitdiff
path: root/include/ieeefp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ieeefp.h')
-rw-r--r--include/ieeefp.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/ieeefp.h b/include/ieeefp.h
new file mode 100644
index 0000000..627ce50
--- /dev/null
+++ b/include/ieeefp.h
@@ -0,0 +1,23 @@
+/* $OpenBSD: ieeefp.h,v 1.4 2009/09/27 21:23:55 martynas Exp $ */
+
+/*
+ * Written by J.T. Conklin, Apr 6, 1995
+ * Public domain.
+ */
+
+#ifndef _IEEEFP_H_
+#define _IEEEFP_H_
+
+#include <sys/cdefs.h>
+#include <machine/ieeefp.h>
+
+__BEGIN_DECLS
+extern fp_rnd fpgetround(void);
+extern fp_rnd fpsetround(fp_rnd);
+extern fp_except fpgetmask(void);
+extern fp_except fpsetmask(fp_except);
+extern fp_except fpgetsticky(void);
+extern fp_except fpsetsticky(fp_except);
+__END_DECLS
+
+#endif /* _IEEEFP_H_ */