Other Parts Discussed in Thread: TMS320F2812
I've run into problems with a floating point test.
In the float.h that comes with Code Composer version 3.3, it defines epsilon to be:
FLT_EPSILON 1.192092896E-07F /* SMALLEST X WHERE 1+X != 1 */
However, while running the following code on the TMS320F2812 device simulator, I arrive at an epsilon of half what is defined or 5.96046444E-08F.
float eps = 1.0f;
while( (1.0f + eps/2.0f) != 1.0f )
{
eps/=2.0f;
}
Can TI confirm my numbers?

