-
Bug
-
Resolution: Duplicate
-
Not Prioritized
-
Code Generation Tools
-
CODEGEN-12700
-
-
default
-
The related test case has these lines ...
if(float1 > CP_MIN) { f_array[1u] = (1.f / *f_Info); }
Code generated by the compiler performs the division before the if statement. For values where that divide causes an FPU exception to be raised, the if statement should keep the divide from happening. But because the divide happens no matter what, the FPU exception is incorrectly raised for those values.