Function lbcrypto::IsAdditionOverflow
Defined in File utilities.h
Function Documentation
-
inline uint64_t lbcrypto::IsAdditionOverflow(uint64_t a, uint64_t b)
check if adding two 64-bit number can cause overflow
- Parameters
a – operand 1
b – operand 2
- Returns
1 if overflow occurs, 0 otherwise