summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/float.h
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-07-21 20:50:56 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-07-21 20:50:56 +0000
commit37072fdb15d462086950f52b161458da21410437 (patch)
tree08b3103a696c4c6bc6850f837614a32e9c961258 /sys/arch/alpha/include/float.h
parentd079b58d526fee9d549fe05a31c7814d92dd6f28 (diff)
- add proper double_t and float_t definitions for each arch
- math.h shouldn't define FLT_EVAL_METHOD, but float.h should (per C99). remove from math.h, and add proper definitions in float.h ok millert@
Diffstat (limited to 'sys/arch/alpha/include/float.h')
-rw-r--r--sys/arch/alpha/include/float.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/float.h b/sys/arch/alpha/include/float.h
index 94fa7b2ecb1..7033150e8b5 100644
--- a/sys/arch/alpha/include/float.h
+++ b/sys/arch/alpha/include/float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: float.h,v 1.6 2003/06/02 23:27:43 millert Exp $ */
+/* $OpenBSD: float.h,v 1.7 2008/07/21 20:50:54 martynas Exp $ */
/* $NetBSD: float.h,v 1.4 1995/06/20 20:45:22 jtc Exp $ */
/*
@@ -41,6 +41,7 @@ __END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */