8 #ifndef __SDCC_pdk14 // Lack of memory
14 void clamp(struct c
*l
)
22 //char cmplong(char x, char y)
23 char cmplong(int32_t x
, int32_t y
)
33 #ifndef __SDCC_pdk14 // Lack of memory
34 // volatile char x = 0xBF;//800000; //-1.0
35 // volatile char y = 0x3F;//800000; //+1.0
36 // volatile char z = 0x43;//700000; //+240.0
37 volatile int32_t x
= 0xBF800000; //-1.0
38 volatile int32_t y
= 0x3F800000; //+1.0
39 volatile int32_t z
= 0x43700000; //+240.0
40 struct c val
= { -1.0 };
42 ASSERT (val
.r
== 1.0);
44 ASSERT (cmplong(x
, y
));
46 ASSERT (cmplong(x
, z
));