about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-01 07:00:07 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-01 07:00:07 +0000
commit507cef0861e1f359655337194048fe01cf5c1ba4 (patch)
tree0e1457604e0a7378b373d19ac6bab9b712f1b353 /sysdeps
parent417bafec1e0be945a745cb5f1ba95ac30524af21 (diff)
downloadglibc-507cef0861e1f359655337194048fe01cf5c1ba4.tar.gz
glibc-507cef0861e1f359655337194048fe01cf5c1ba4.tar.xz
glibc-507cef0861e1f359655337194048fe01cf5c1ba4.zip
Update.
	* math/Makefile (tests): Add tst-defintions.
	* math/tst-definitions.c: New file.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/fpu/bits/mathdef.h4
-rw-r--r--sysdeps/m68k/fpu/bits/mathdef.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/i386/fpu/bits/mathdef.h b/sysdeps/i386/fpu/bits/mathdef.h
index 70429ffa55..31ca7c74e8 100644
--- a/sysdeps/i386/fpu/bits/mathdef.h
+++ b/sysdeps/i386/fpu/bits/mathdef.h
@@ -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	(-2147483648)
-# define FP_ILOGBNAN	(-2147483648)
+# define FP_ILOGB0	(-2147483647 - 1)
+# define FP_ILOGBNAN	(-2147483647 - 1)
 
 /* Number of decimal digits for the `long double' type.  */
 # define DECIMAL_DIG	18
diff --git a/sysdeps/m68k/fpu/bits/mathdef.h b/sysdeps/m68k/fpu/bits/mathdef.h
index 7b09882e12..c3365a7ff2 100644
--- a/sysdeps/m68k/fpu/bits/mathdef.h
+++ b/sysdeps/m68k/fpu/bits/mathdef.h
@@ -38,7 +38,7 @@ 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	(-2147483648)
+# define FP_ILOGB0	(-2147483647 - 1)
 # define FP_ILOGBNAN	(2147483647)
 
 /* Number of decimal digits for the `long double' type.  */