This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Warning (level 2) C4056
overflow in floating point constant arithmetic
Floating-point constant arithmetic generates a result that exceeds the maximum allowable value.
Example
double fp_val = 1.0e300 * 1.0e300;
In this example, the result exceeds the maximum value for a double-precision data item.
Possible cause
- Compiler optimizations performed during constant arithmetic. You can safely ignore this warning if it goes away when you turn off optimization (/Od).