- 23 Jan, 2017 1 commit
-
-
Edward Thomson committed
-
- 20 Feb, 2015 1 commit
-
-
Jeff Hostetler committed
-
- 13 Feb, 2015 3 commits
-
-
gcc and clang support __builtin_add_overflow, use it whenever possible, falling back to our naive routines.
Edward Thomson committed -
Make our overflow checking look more like gcc and clang's, so that we can substitute it out with the compiler instrinsics on platforms that support it. This means dropping the ability to pass `NULL` as an out parameter. As a result, the macros also get updated to reflect this as well.
Edward Thomson committed -
Add some helper functions to check for overflow in a type-specific manner.
Edward Thomson committed
-