
This division is undefined behaviour which raises SIGFPE on x86. Most C++ preprocessors evaluate this silently to 0.
3 lines
92 B
GLSL
3 lines
92 B
GLSL
#if (-2147483648 / -1) != 0
|
|
#error INT_MIN / -1 should yield 0, something went wrong.
|
|
#endif |