Make FP_ILOGB0 and FP_ILOGBNAN int values.
authorUlrich Drepper <drepper@redhat.com>
Fri, 1 Sep 2000 06:32:15 +0000 (06:32 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 1 Sep 2000 06:32:15 +0000 (06:32 +0000)
sysdeps/alpha/fpu/bits/mathdef.h
sysdeps/arm/fpu/bits/mathdef.h
sysdeps/m68k/fpu/bits/mathdef.h

index 30f93dd..3b80e82 100644 (file)
@@ -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
index cb0c348..374ad67 100644 (file)
@@ -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
index c80dad3..7b09882 100644 (file)
@@ -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