3 ms·
Why would you expect the output to be false? On any typical system around (with 8-byte longs), LONG_MIN has the value of -2^63 which (converted to a IEEE double
by eMSF 7y ago
Why would you expect the output to be false? On any typical system around (with 8-byte longs), LONG_MIN has the value of -2^63 which (converted to a IEEE double-precision float) passes the function's checks just fine -- even if the values around it don't.
- CGamesPlay 7y agoAh, my mistake. Still, seems like the -O0 is actually what's correct and the -O3 is reporting an incorrect answer.