Compiler Warning (level 2) C4056
Error Messageoverflow in floating point constant arithmetic
Floating-point constant arithmetic generates a result that exceeds the maximum allowable value.
This warning can be caused by compiler optimizations performed during constant arithmetic. You can safely ignore this warning if it goes away when you turn off optimization (/Od).
The following sample generates C4056:
// C4056.cpp // compile with: /W2 /LD #pragma warning (default : 4056) float fp_val = 1.0e300 * 1.0e300; // C4056