diff options
author | Andreas Jaeger <aj@suse.de> | 2000-05-17 17:18:49 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-05-17 17:18:49 +0000 |
commit | 5d1aa2e61b56bf76f7a8444305e3c0d8a004e554 (patch) | |
tree | 97170ea45fccd64bd1c6e5152f317987d6e67a98 /sysdeps | |
parent | 3a1e20c64a237b9041a53ea166a837d92ebc19cf (diff) | |
download | glibc-5d1aa2e61b56bf76f7a8444305e3c0d8a004e554.tar glibc-5d1aa2e61b56bf76f7a8444305e3c0d8a004e554.tar.gz glibc-5d1aa2e61b56bf76f7a8444305e3c0d8a004e554.tar.bz2 glibc-5d1aa2e61b56bf76f7a8444305e3c0d8a004e554.zip |
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')
-rw-r--r-- | sysdeps/arm/bits/huge_val.h | 6 | ||||
-rw-r--r-- | sysdeps/m68k/bits/huge_val.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/arm/bits/huge_val.h b/sysdeps/arm/bits/huge_val.h index 398476cf72..44db4bdd58 100644 --- a/sysdeps/arm/bits/huge_val.h +++ b/sysdeps/arm/bits/huge_val.h @@ -1,7 +1,7 @@ /* `HUGE_VAL' constants for IEEE 754 machines (where it is infinity). Used by <stdlib.h> and <math.h> functions for overflow. ARM version. - Copyright (C) 1992, 95, 96, 97, 98, 99 Free Software Foundation, Inc. + Copyright (C) 1992, 95, 96, 97, 98, 99, 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 @@ -31,7 +31,7 @@ # if __GNUC_PREREQ(2,95) -# define HUGE_VAL (0x1.0p2047) +# define HUGE_VAL (__extension__ 0x1.0p2047) # else @@ -69,7 +69,7 @@ static __huge_val_t __huge_val = { __HUGE_VAL_bytes }; # if __GNUC_PREREQ(2,95) -# define HUGE_VALF (0x1.0p255f) +# define HUGE_VALF (__extension__ 0x1.0p255f) # else diff --git a/sysdeps/m68k/bits/huge_val.h b/sysdeps/m68k/bits/huge_val.h index 339f374d68..d191042835 100644 --- a/sysdeps/m68k/bits/huge_val.h +++ b/sysdeps/m68k/bits/huge_val.h @@ -1,6 +1,6 @@ /* `HUGE_VAL' constants for m68k (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 @@ -32,7 +32,7 @@ # if __GNUC_PREREQ(2,95) -# define HUGE_VAL (0x1.0p2047) +# define HUGE_VAL (__extension__ 0x1.0p2047) # else @@ -58,8 +58,8 @@ static union { unsigned char __c[8]; double __d; } __huge_val = # 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 |