summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include/float.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-21 18:41:06 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-21 18:41:06 +0000
commit28a9cd66276c4626ef7c0da595202ea6988a2ec6 (patch)
treecfc8f7871f509719d5c65d52b09c36392de80c46 /sys/arch/hppa/include/float.h
parent4680183c186df58c7a99599bae3a120b19c2eec6 (diff)
make an ieeefp regress pass; miod@ ok
Diffstat (limited to 'sys/arch/hppa/include/float.h')
-rw-r--r--sys/arch/hppa/include/float.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/float.h b/sys/arch/hppa/include/float.h
index 62755a386cf..e21cf03dbb1 100644
--- a/sys/arch/hppa/include/float.h
+++ b/sys/arch/hppa/include/float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: float.h,v 1.3 2000/01/11 10:09:49 mickey Exp $ */
+/* $OpenBSD: float.h,v 1.4 2002/10/21 18:41:05 mickey Exp $ */
/*
* Copyright (c) 1989 Regents of the University of California.
@@ -40,8 +40,12 @@
#include <sys/cdefs.h>
+__BEGIN_DECLS
+int __flt_rounds(void);
+__END_DECLS
+
#define FLT_RADIX 2
-#define FLT_ROUNDS 1
+#define FLT_ROUNDS __flt_rounds()
#define FLT_MANT_DIG 24
#define FLT_EPSILON 1.19209290E-07F