S
starffly
In my program, the calculated value is supposed to be no more than the
constants named MAXINT,otherwise, the overflow error will be reported,
however, I cannot test if the value exceeds MAXINT within the integer
scope smaller than MAXINT, so I want to seek a solution to test the
excess without comparing the value with MAXINT. Please let me know if
you have a good idea.
THX.
constants named MAXINT,otherwise, the overflow error will be reported,
however, I cannot test if the value exceeds MAXINT within the integer
scope smaller than MAXINT, so I want to seek a solution to test the
excess without comparing the value with MAXINT. Please let me know if
you have a good idea.
THX.