Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Wrong Abstraction (2016). Parent comment
• GCC and Clang both accept the -fwrapv argument, causing the compiler to guarantee that signed overflow will wrap, like in Java
• The latest C++ standard mandates that signed integer types use two's complement representation (signed overflow remains undefined behaviour)
There are no comments on this comment yet.
• GCC and Clang both accept the -fwrapv argument, causing the compiler to guarantee that signed overflow will wrap, like in Java
• The latest C++ standard mandates that signed integer types use two's complement representation (signed overflow remains undefined behaviour)