about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/fpu/bits/huge_val.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc64/fpu/bits/huge_val.h')
-rw-r--r--sysdeps/sparc/sparc64/fpu/bits/huge_val.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/sparc/sparc64/fpu/bits/huge_val.h b/sysdeps/sparc/sparc64/fpu/bits/huge_val.h
index cd93257cbd..ca0767b91a 100644
--- a/sysdeps/sparc/sparc64/fpu/bits/huge_val.h
+++ b/sysdeps/sparc/sparc64/fpu/bits/huge_val.h
@@ -1,6 +1,6 @@
 /* `HUGE_VAL' constants for IEEE 754 machines (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
@@ -31,7 +31,7 @@
 
 # if __GNUC_PREREQ(2,95)
 
-#  define HUGE_VAL (0x1.0p2047)
+#  define HUGE_VAL (__extension__ 0x1.0p2047)
 
 # else
 
@@ -60,12 +60,12 @@ 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)
 #  if __WORDSIZE == 32
 #   define HUGE_VALL HUGE_VAL
 #  else
 /* Sparc64 uses IEEE 754 128bit long double */
-#   define HUGE_VALL (0x1.0p32767L)
+#   define HUGE_VALL (__extension__ 0x1.0p32767L)
 #  endif
 
 # else