diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-09-17 10:34:22 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-09-17 10:34:22 +0200 |
commit | 3641b8d97e7f39b679175cc4dded15e731fb7059 (patch) | |
tree | 1051e0617c3ef152ac368d8683a5da2d1856b15f /libc/sysdeps/linux/sparc | |
parent | 0b03a65afa92d2e4c51ff49d39d4d34143749305 (diff) | |
download | uClibc-alpine-3641b8d97e7f39b679175cc4dded15e731fb7059.tar.bz2 uClibc-alpine-3641b8d97e7f39b679175cc4dded15e731fb7059.tar.xz |
always define float_t as float
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/sparc')
-rw-r--r-- | libc/sysdeps/linux/sparc/bits/mathdef.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/mathdef.h b/libc/sysdeps/linux/sparc/bits/mathdef.h index 7f9bbee81..5cd126f1f 100644 --- a/libc/sysdeps/linux/sparc/bits/mathdef.h +++ b/libc/sysdeps/linux/sparc/bits/mathdef.h @@ -29,28 +29,10 @@ #if defined __USE_ISOC99 && defined _MATH_H && !defined _MATH_H_MATHDEF # define _MATH_H_MATHDEF 1 -# ifdef __GNUC__ -# if __STDC__ == 1 - -/* In GNU or ANSI mode, gcc leaves `float' expressions as-is. */ +/* SPARC has both `float' and `double' arithmetic. */ typedef float float_t; typedef double double_t; -# else - -/* For `gcc -traditional', `float' expressions are evaluated as `double'. */ -typedef double float_t; -typedef double double_t; - -# endif -# 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) |