2 Copyright (C) 2009-2014, The AROS Development Team. All rights reserved.
8 uint32_t __aeabi_ui2f(uint32_t val
)
16 exp
= __builtin_clz(val
);
26 if (0x02000000 == val
) exp
++;
32 exp
= 0x7E + 32 - exp
;
34 /* adapt Exponent to IEEESP-Format */
41 uint32_t __aeabi_i2f(int32_t val
)
47 return 0x80000000 | __aeabi_ui2f((uint32_t)(-val
));
49 return __aeabi_ui2f(val
);