CppCon 2018 has ended
Thursday, September 27 • 14:00 - 15:00
Signed integers are two's complement

Sign up or log in to save this to your schedule and see who's attending!

There is One True Representation for signed integers, and that representation is two’s complement. There are, however, rumors of a fantasy world—before C++20—where ones' complement, signed magnitude and "pure binary representations" dwell. That world boasts Extraordinary Values, Padding Bits, and just like our world it hosts swaths of Undefined Behavior.

Join me in exploring this magnificent fantasy world, and discover its antics. Together we'll marvel at how the other representations were forever banished from real-world C++, doomed to cast mere shadows onto our reality.

avatar for JF Bastien

JF Bastien

Compiler engineer, Apple
JF is a compiler engineer. He leads C++ development at Apple.

Thursday September 27, 2018 14:00 - 15:00
Steamboat (403)

Attendees (119)