I\'m working with a client who is using an old version of GCC (3.2.3 to be precise) but wants to upgrade and one reason that\'s been given as stumbling block to upgrading to a n
The C99 standard says:
The types
float_t
double_t
are floating types at least as wide as float and double, respectively, and such that
double_t
is at least as wide asfloat_t
. IfFLT_EVAL_METHOD
equals0
,float_t
anddouble_t
arefloat
anddouble
, respectively; ifFLT_EVAL_METHOD
equals1
, they are bothdouble
; ifFLT_EVAL_METHOD
equals2
, they are bothlong double
; and for other values ofFLT_EVAL_METHOD
, they are otherwise implementation-defined.178)
And indeed, in previous versions of gcc they were defined as long double
by default.