summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-06-15 11:56:47 -0700
committerRichard Henderson <rth@twiddle.net>2012-06-15 11:56:47 -0700
commita7940a70850f0e98e51bd76616203bc17aaa0621 (patch)
treee2b57f3db03137ccef271d2208b78f03298957f6
parente525bc9c260c6dcb96cd08590a8a983701af9419 (diff)
downloadglibc-a7940a70850f0e98e51bd76616203bc17aaa0621.tar.gz
glibc-a7940a70850f0e98e51bd76616203bc17aaa0621.tar.xz
glibc-a7940a70850f0e98e51bd76616203bc17aaa0621.zip
alpha: Fix float_t in bits/mathdef.h
-rw-r--r--sysdeps/alpha/bits/mathdef.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/sysdeps/alpha/bits/mathdef.h b/sysdeps/alpha/bits/mathdef.h
index ae0049ade3..393547c1e6 100644
--- a/sysdeps/alpha/bits/mathdef.h
+++ b/sysdeps/alpha/bits/mathdef.h
@@ -25,19 +25,9 @@
 #if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF
 # define _MATH_H_MATHDEF	1
 
-# ifdef __GNUC__
-
-/* In GNU or ANSI mode, gcc leaves `float' expressions as-is.  */
-typedef float float_t;
-typedef double double_t;
-
-# else
-
-/* Wild guess at types for float_t and double_t. */
-typedef double float_t;
-typedef double double_t;
-
-# endif
+/* Alpha has "float" and "double" operations.  */
+typedef float float_t;    /* float expressions are evaluated as float.  */
+typedef double double_t;  /* double expressions are evaluated as double.  */
 
 /* The values returned by `ilogb' for 0 and NaN respectively.  */
 # define FP_ILOGB0     (-2147483647)