libfxd 0.2.dev
A fixed-point library for C++.
|
Round down. More...
Functions | |
template<fixed_point Fxd> | |
constexpr Fxd | ldexp (Fxd x, int exp) noexcept |
Same as std::ldexp() . | |
template<fixed_point Fxd> | |
constexpr Fxd | div (Fxd a, Fxd b) noexcept |
Divide rounding down. | |
template<fixed_point Fxd> | |
constexpr Fxd | mul (Fxd a, Fxd b) noexcept |
Multiply rounding down. | |
Round down.
Namespace for functions that round down.
|
constexprnoexcept |
Divide rounding down.
Definition at line 107 of file round-div.hpp.
|
constexprnoexcept |
|
constexprnoexcept |
Multiply rounding down.
Definition at line 117 of file round-mul.hpp.