diff options
| author | matt <matt@NetBSD.org> | 2013-02-09 22:56:20 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2013-02-09 22:56:20 +0000 |
| commit | f58ca936e09fe7cb6f1e14bc547e56efefb7d685 (patch) | |
| tree | ef40b21eaa3438925d16fb435a5284ef3bba7198 /include/math.h | |
| parent | f4fbde65755333e78e4243fae1cf7aaa23c22a13 (diff) | |
Define FP_ILOGB0 and FP_ILOGBNAN
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 && ... */ /* |
