Hi,
I'm using CGT7.2.3 for the OMAP-L138 and have 2 questions:
1. Doesn't IEEE 754 define HUGE_VAL as infinity? If so, why is HUGE_VAL for the OMAP-L138 defined as DBL_MAX (1.7976931348623157E+308)? Is there another way to generate infinity on the OMAP-L138 DSP?
2. Doesn't IEEE 754 support denormal numbers? If so, why does the following code:
FLT my_diff = 1.12e-37 - 1.13e-37
produce the following warning:
warning #223-D: floating-point value does not fit in required floating-point type
and result in my_diff = 0 instead of -1.00000022e-39?
Thanks,
Will
P.S. My reference is: http://download.oracle.com/docs/cd/E19957-01/806-3568/ncg_goldberg.html