Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::cap_prod_util Namespace Reference

Functions

uint64_t uint_abs (int64_t n)
 

Function Documentation

◆ uint_abs()

uint64_t operations_research::cap_prod_util::uint_abs ( int64_t n)
inline

Returns an unsigned int equal to the absolute value of n, in a way that will not produce overflows.

Definition at line 246 of file saturated_arithmetic.h.