Faster implementations of mathematical functions which can be incorrect for extremal or near-extremal values.
More...
|
template<typename I , typename I2 = I> |
constexpr KAT_FHD I | round_up_to_power_of_2 (I x, I2 power_of_2) noexcept |
|
template<typename I > |
constexpr KAT_FHD I | round_up_to_full_warps (I x) noexcept |
|
template<typename I1 , typename I2 > |
constexpr KAT_FHD I1 | div_rounding_up (I1 x, const I2 modulus) noexcept |
|
template<typename I1 , typename I2 = I1> |
constexpr KAT_FHD I1 | round_up (I1 x, I2 y) noexcept |
|
template<typename I > |
constexpr I | modular_increment (I x, I modulus) |
|
template<typename I > |
constexpr I | modular_decrement (I x, I modulus) |
|
Faster implementations of mathematical functions which can be incorrect for extremal or near-extremal values.