![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Common code for all specializations. More...
#include <constant_divisor.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
ConstantDivisorBase (MagicT magic, value_type denominator) | |
value_type | mod (value_type numerator) const |
value_type | denominator () const |
Protected Types | |
using | MagicValueType = MagicT |
Protected Attributes | |
MagicT | magic_ |
Friends | |
value_type | operator/ (value_type a, const Impl &b) |
value_type | operator% (value_type a, const Impl &b) |
Common code for all specializations.
Definition at line 84 of file constant_divisor.h.
|
protected |
Definition at line 103 of file constant_divisor.h.
using util::math::internal::ConstantDivisorBase< T, MagicT, Impl >::value_type = T |
Definition at line 86 of file constant_divisor.h.
|
inlineexplicit |
Definition at line 88 of file constant_divisor.h.
|
inline |
Definition at line 100 of file constant_divisor.h.
|
inline |
Definition at line 91 of file constant_divisor.h.
|
friend |
Definition at line 98 of file constant_divisor.h.
|
friend |
Definition at line 96 of file constant_divisor.h.
|
protected |
Definition at line 105 of file constant_divisor.h.