summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/ieeefp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ia64/include/ieeefp.h')
-rw-r--r--sys/ia64/include/ieeefp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/ia64/include/ieeefp.h b/sys/ia64/include/ieeefp.h
index 3b0cd4b..7cde91b 100644
--- a/sys/ia64/include/ieeefp.h
+++ b/sys/ia64/include/ieeefp.h
@@ -29,6 +29,8 @@
#ifndef _MACHINE_IEEEFP_H_
#define _MACHINE_IEEEFP_H_
+/* Deprecated historical FPU control interface */
+
#include <machine/fpu.h>
typedef int fp_except_t;
@@ -45,4 +47,11 @@ typedef enum {
FP_RZ /* round toward zero */
} fp_rnd_t;
+__BEGIN_DECLS
+extern fp_rnd_t fpgetround(void);
+extern fp_rnd_t fpsetround(fp_rnd_t);
+extern fp_except_t fpgetmask(void);
+extern fp_except_t fpsetmask(fp_except_t);
+__END_DECLS
+
#endif /* !_MACHINE_IEEEFP_H_ */
OpenPOWER on IntegriCloud