From d31dde9292544dcbed4a9fbde00125ee13b0c8c8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 1 Sep 2000 06:32:15 +0000 Subject: [PATCH] Make FP_ILOGB0 and FP_ILOGBNAN int values. --- sysdeps/alpha/fpu/bits/mathdef.h | 6 +++--- sysdeps/arm/fpu/bits/mathdef.h | 4 ++-- sysdeps/m68k/fpu/bits/mathdef.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sysdeps/alpha/fpu/bits/mathdef.h b/sysdeps/alpha/fpu/bits/mathdef.h index 30f93dda1c..3b80e82475 100644 --- a/sysdeps/alpha/fpu/bits/mathdef.h +++ b/sysdeps/alpha/fpu/bits/mathdef.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -67,8 +67,8 @@ typedef double double_t; # endif /* The values returned by `ilogb' for 0 and NaN respectively. */ -# define FP_ILOGB0 0x80000001 -# define FP_ILOGBNAN 0x7fffffff +# define FP_ILOGB0 (-2147483647) +# define FP_ILOGBNAN (2147483647) /* Number of decimal digits for the `double' type. */ # define DECIMAL_DIG 15 diff --git a/sysdeps/arm/fpu/bits/mathdef.h b/sysdeps/arm/fpu/bits/mathdef.h index cb0c348374..374ad674c3 100644 --- a/sysdeps/arm/fpu/bits/mathdef.h +++ b/sysdeps/arm/fpu/bits/mathdef.h @@ -37,8 +37,8 @@ typedef double double_t; /* `double' expressions are evaluated as /* The values returned by `ilogb' for 0 and NaN respectively. */ -# define FP_ILOGB0 0x80000001 -# define FP_ILOGBNAN 0x7fffffff +# define FP_ILOGB0 (-2147483647) +# define FP_ILOGBNAN (2147483647) /* Number of decimal digits for the `double' type. */ # define DECIMAL_DIG 15 diff --git a/sysdeps/m68k/fpu/bits/mathdef.h b/sysdeps/m68k/fpu/bits/mathdef.h index c80dad3fe1..7b09882e12 100644 --- a/sysdeps/m68k/fpu/bits/mathdef.h +++ b/sysdeps/m68k/fpu/bits/mathdef.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -38,8 +38,8 @@ typedef long double double_t; /* `double' expressions are evaluated as # define INFINITY HUGE_VALF /* The values returned by `ilogb' for 0 and NaN respectively. */ -# define FP_ILOGB0 0x80000000 -# define FP_ILOGBNAN 0x7fffffff +# define FP_ILOGB0 (-2147483648) +# define FP_ILOGBNAN (2147483647) /* Number of decimal digits for the `long double' type. */ # define DECIMAL_DIG 18