Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of integer arithmetic in C++ through this comprehensive conference talk from CppNow 2022. Delve into the fundamental differences between hardware-level integer calculations and C++ language rules, identifying problematic areas for numerical library authors. Discover the concept of durable integer arithmetic and its potential implementations at both language and library levels. Examine the implications for numerical applications such as rational numbers, arbitrary precision integers, and safe integers. Gain insights into the challenges of efficient code generation and learn about WG21's efforts to address these issues through current proposals. Benefit from Andreas Weis's extensive experience in C++ programming across various domains as he shares his expertise on writing portable code and creating simple, richly-typed interfaces for complex functionalities.