4 #define EPS FLT_EPSILON
5 #elif FLT_EVAL_METHOD==1
6 #define EPS DBL_EPSILON
7 #elif FLT_EVAL_METHOD==2
8 #define EPS LDBL_EPSILON
10 static const float_t toint
= 1/EPS
;
14 union {float f
; uint32_t i
;} u
= {x
};
15 int e
= u
.i
>> 23 & 0xff;
23 FORCE_EVAL(x
+ toint
);
26 y
= x
+ toint
- toint
- x
;