CodePudding user response:
#includeINT_MAX and INT_MIN
For maximum plus 1, minimum minus 1 can see effect of overflow
IEEE754 floating-point representation method,
The representation of a float type data range is 3.4 * 10 ^ ~ + 3.4 * 10 ^ 38, 38
Double - 1.7 * 10 ^ - 308 ~ 1.7 * 10 ^ 308
Long double - 1.2 * 10 ^ - 4932 ~ 1.2 * 10 ^ 4932.
Their times 10, output again saw floating overflow
CodePudding user response:
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.htmlI hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html