From 622cae1af0111a9992452e2f0d8102d94db24ab7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 23 Jun 1997 21:43:50 +0000 Subject: [PATCH] (FP_ILOGB0, FP_ILOGBNAN): Define. --- sysdeps/m68k/fpu/bits/mathdef.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sysdeps/m68k/fpu/bits/mathdef.h b/sysdeps/m68k/fpu/bits/mathdef.h index 4d07176405..4eaa58a3a9 100644 --- a/sysdeps/m68k/fpu/bits/mathdef.h +++ b/sysdeps/m68k/fpu/bits/mathdef.h @@ -17,7 +17,7 @@ Boston, MA 02111-1307, USA. */ #ifndef _MATH_H -#error "Never use directly; include instead" +# error "Never use directly; include instead" #endif @@ -34,3 +34,7 @@ typedef long double double_t; /* `double' expressions are evaluated as /* Define `INFINITY' as value of type `float_t'. */ #define INFINITY HUGE_VALL + +/* The values returned by `ilogb' for 0 and NaN respectively. */ +#define FP_ILOGB0 0 +#define FP_ILOGBNAN 0x7fffffff