2 * A billion became zero when converted to and from float. Also test related range issues.
7 volatile unsigned long ul1
;
8 volatile unsigned long ul2
;
14 #if !defined(__SDCC_pdk14)
17 ASSERT (f1
== 1000000000.0f
);
18 ul2
= (unsigned long)f1
;
22 ASSERT (f1
== 4000000000.0f
);
23 ul2
= (unsigned long)f1
;
27 ASSERT (f1
== 4294967296.0f
);