Back to Browse

C++ Saturation Arithmetic

47 views
Feb 20, 2026
58:18

Abstract Many real world problems require the use of “saturation arithmetic” to properly code the solution. This has traditionally been problematic as in C++ the flags register is not directly accessible. C++ 26 supports saturation arithmetic via the standard library and this feature is available NOW in several compilers. We’ll start with a definition of what “saturation arithmetic” is, then we’ll look at the efficiency of the code produced for the X86-64 and AARCH64 instruction sets for the GCC and Clang compilers. Speaker Bio Lloyd Moore is the founder and owner of CyberData Corporation, which provides consulting services in the aerospace, robotics, machine vision and industrial automation fields. Lloyd has worked in software industry for 35 years. His formal training is in biological-based artificial intelligence, electronics, and psychology. Lloyd is also currently the president of the Northwest C++ User’s Group and an organizer of the Seattle Robotics Society Robothon event.

Download

0 formats

No download links available.

C++ Saturation Arithmetic | NatokHD