aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/bits/mathdef.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-31 18:50:35 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-31 18:50:35 -0500
commit9d029511d8832d0f97f83c820efc08f1f1a73bdd (patch)
treec1ee7384f94fd1de61fc9a208d4e2f48ec08a1fc /sysdeps/sparc/bits/mathdef.h
parent3b49edc04bae4ba33b0a3f1a402ba0ae2352766c (diff)
parentd55bf1777c59c6a1d05ccc3b9f7d54299da770a9 (diff)
downloadglibc-9d029511d8832d0f97f83c820efc08f1f1a73bdd.tar
glibc-9d029511d8832d0f97f83c820efc08f1f1a73bdd.tar.gz
glibc-9d029511d8832d0f97f83c820efc08f1f1a73bdd.tar.bz2
glibc-9d029511d8832d0f97f83c820efc08f1f1a73bdd.zip
Merge branch 'master' of ssh://sourceware.org/git/glibc
Diffstat (limited to 'sysdeps/sparc/bits/mathdef.h')
-rw-r--r--sysdeps/sparc/bits/mathdef.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/sysdeps/sparc/bits/mathdef.h b/sysdeps/sparc/bits/mathdef.h
index 042c9c881b..cd1f85acc8 100644
--- a/sysdeps/sparc/bits/mathdef.h
+++ b/sysdeps/sparc/bits/mathdef.h
@@ -29,20 +29,10 @@
#if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF
# define _MATH_H_MATHDEF 1
-# ifdef __GNUC__
-
-/* gcc leaves `float' expressions as-is. */
+/* SPARC has both `float' and `double' arithmetic. */
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
-
/* The values returned by `ilogb' for 0 and NaN respectively. */
# define FP_ILOGB0 (-2147483647)
# define FP_ILOGBNAN (2147483647)