about summary refs log tree commit diff
path: root/sysdeps/i386/bits
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-17 17:19:18 +0000
committerAndreas Jaeger <aj@suse.de>2000-05-17 17:19:18 +0000
commitcc3f0ddb75ff6105a0fd869e6499c11e227bc787 (patch)
treec7d63383d75894c0f51bbe2783f3c657dcf0fc3c /sysdeps/i386/bits
parente656498ea979f746fa5e324c4cbd433a5a3de562 (diff)
downloadglibc-cc3f0ddb75ff6105a0fd869e6499c11e227bc787.tar.gz
glibc-cc3f0ddb75ff6105a0fd869e6499c11e227bc787.tar.xz
glibc-cc3f0ddb75ff6105a0fd869e6499c11e227bc787.zip
Update.
2000-05-17  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
	__extension__ to hexadecimal floating constant notation.
	* sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
	Likewise.
	* sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
	* sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
	Likewise.
	* sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
	HUGE_VALL): Likewise.
	* sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
	HUGE_VALL): Likewise.
	(HUGE_VALL): Set to HUGE_VAL on sparc32.
Diffstat (limited to 'sysdeps/i386/bits')
-rw-r--r--sysdeps/i386/bits/huge_val.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/i386/bits/huge_val.h b/sysdeps/i386/bits/huge_val.h
index 966cb2446f..518c8cc62c 100644
--- a/sysdeps/i386/bits/huge_val.h
+++ b/sysdeps/i386/bits/huge_val.h
@@ -1,6 +1,6 @@
 /* `HUGE_VAL' constants for ix86 (where it is infinity).
    Used by <stdlib.h> and <math.h> functions for overflow.
-   Copyright (C) 1992, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1995, 1996, 1997, 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
@@ -27,7 +27,7 @@
 /* IEEE positive infinity (-HUGE_VAL is negative infinity).  */
 
 #if __GNUC_PREREQ(2,95)
-# define HUGE_VAL	(0x1.0p2047)
+# define HUGE_VAL	(__extension__ 0x1.0p2047)
 #else
 # define __HUGE_VAL_bytes	{ 0, 0, 0, 0, 0, 0, 0xf0, 0x7f }
 
@@ -48,8 +48,8 @@ static __huge_val_t __huge_val = { __HUGE_VAL_bytes };
 
 # if __GNUC_PREREQ(2,95)
 
-#  define HUGE_VALF (0x1.0p255f)
-#  define HUGE_VALL (0x1.0p32767L)
+#  define HUGE_VALF (__extension__ 0x1.0p255f)
+#  define HUGE_VALL (__extension__ 0x1.0p32767L)
 
 # else