common.h
5.08 KB
-
integer overflow: use compiler intrinsics if supported · 16942c6f
gcc and clang support __builtin_add_overflow, use it whenever possible, falling back to our naive routines.
Edward Thomson committed
gcc and clang support __builtin_add_overflow, use it whenever possible, falling back to our naive routines.