description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Warning (level 2) C4756 |
Compiler Warning (level 2) C4756 |
11/04/2016 |
|
|
5a16df83-6b82-4619-83bd-319af4ef1d1d |
overflow in constant arithmetic
The compiler generated an exception while doing constant arithmetic during compilation.
The following sample generates C4756:
// C4756.cpp
// compile with: /W2 /Od
int main()
{
float f = 1e100+1e100; // C4756
}