libfxd 0.2.dev
A fixed-point library for C++.
|
Round to zero. 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 to zero. | |
template<fixed_point Fxd> | |
constexpr Fxd | mul (Fxd a, Fxd b) noexcept |
Multiply rounding to zero. | |
Round to zero.
Namespace for functions that round to zero.
|
constexprnoexcept |
Divide rounding to zero.
Definition at line 31 of file round-div.hpp.
|
constexprnoexcept |
|
constexprnoexcept |
Multiply rounding to zero.
Definition at line 26 of file round-mul.hpp.