diff options
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/include/float.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/float.h b/sys/arch/hppa/include/float.h index bbbb538f453..f5df96d5736 100644 --- a/sys/arch/hppa/include/float.h +++ b/sys/arch/hppa/include/float.h @@ -1,4 +1,4 @@ -/* $OpenBSD: float.h,v 1.10 2011/03/23 16:54:35 pirofti Exp $ */ +/* $OpenBSD: float.h,v 1.11 2011/08/29 13:13:21 kettenis Exp $ */ /* * Copyright (c) 1989 Regents of the University of California. @@ -42,7 +42,9 @@ __END_DECLS #define FLT_RADIX 2 #define FLT_ROUNDS __flt_rounds() +#if __ISO_C_VISIBLE >= 1999 #define FLT_EVAL_METHOD 0 /* no promotions */ +#endif #define FLT_MANT_DIG 24 #define FLT_EPSILON 1.19209290E-07F @@ -74,4 +76,8 @@ __END_DECLS #define LDBL_MAX DBL_MAX #define LDBL_MAX_10_EXP DBL_MAX_10_EXP +#if __ISO_C_VISIBLE >= 1999 +#define DECIMAL_DIG 17 +#endif + #endif /* _MACHINE_FLOAT_H_ */ |