Preprocessor: Evaluate INT_MIN % -1 to 0.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#if (-2147483648 / -1) != 0
|
||||
#error INT_MIN / -1 should yield 0, something went wrong.
|
||||
#endif
|
||||
#if (-2147483648 % -1) != 0
|
||||
#error INT_MIN % -1 should yield 0, something went wrong.
|
||||
#endif
|
||||
Reference in New Issue
Block a user