Module Name: src Committed By: matt Date: Sat Feb 9 22:56:20 UTC 2013
Modified Files: src/include: math.h Log Message: Define FP_ILOGB0 and FP_ILOGBNAN To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/include/math.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/math.h diff -u src/include/math.h:1.59 src/include/math.h:1.60 --- src/include/math.h:1.59 Mon Jan 28 23:19:28 2013 +++ src/include/math.h Sat Feb 9 22:56:20 2013 @@ -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 && ... */ /*