Last active
February 28, 2017 05:06
-
-
Save shinhirota/f3d00cd7052f05225b8e20f5ed9bc222 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BOOL is_sum_overflow(long a, long b) { | |
long sum = a + b; | |
return (sum < 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment