diff options
Diffstat (limited to 'include/math.h')
| -rw-r--r-- | include/math.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/math.h b/include/math.h index 77ef0234719..271d6975490 100644 --- a/include/math.h +++ b/include/math.h @@ -1,4 +1,4 @@ -/* $NetBSD: math.h,v 1.59 2013/01/28 23:19:28 matt Exp $ */ +/* $NetBSD: math.h,v 1.60 2013/02/09 22:56:20 matt Exp $ */ /* * ==================================================== @@ -38,6 +38,7 @@ union __long_double_u { #include <machine/math.h> /* may use __float_u, __double_u, or __long_double_u */ +#include <limits.h> /* for INT_{MIN,MAX} */ #ifdef __HAVE_LONG_DOUBLE #define __fpmacro_unary_floating(__name, __arg0) \ @@ -116,6 +117,9 @@ extern const union __float_u __nanf; #define _FP_LOMD 0x80 /* range for machine-specific classes */ #define _FP_HIMD 0xff +#define FP_ILOGB0 INT_MIN +#define FP_ILOGBNAN INT_MIN + #endif /* !_ANSI_SOURCE && ... */ /* |
