Go to the source code of this file.
|
| int64_t | TwosComplementAddition (int64_t x, int64_t y) |
| |
| int64_t | TwosComplementSubtraction (int64_t x, int64_t y) |
| |
| bool | AddHadOverflow (int64_t x, int64_t y, int64_t sum) |
| |
| bool | SubHadOverflow (int64_t x, int64_t y, int64_t diff) |
| |
| bool | AddOverflows (int64_t x, int64_t y) |
| |
| int64_t | SubOverflows (int64_t x, int64_t y) |
| |
| template<typename IntegerType > |
| bool | SafeAddInto (IntegerType a, IntegerType *b) |
| |
| int64_t | CapWithSignOf (int64_t x) |
| |
| int64_t | CapAddGeneric (int64_t x, int64_t y) |
| |
| int64_t | CapAdd (int64_t x, int64_t y) |
| |
| void | CapAddTo (int64_t x, int64_t *y) |
| |
| int64_t | CapSubGeneric (int64_t x, int64_t y) |
| |
| int64_t | CapSub (int64_t x, int64_t y) |
| |
| int64_t | CapOpp (int64_t v) |
| |
| uint64_t | uint_abs (int64_t n) |
| |
| int64_t | CapProdGeneric (int64_t x, int64_t y) |
| |
| int64_t | CapProd (int64_t x, int64_t y) |
| |