mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
alpha: Fix float_t in bits/mathdef.h
This commit is contained in:
parent
e525bc9c26
commit
a7940a7085
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user