libfxd 0.2.dev
A fixed-point library for C++.
|
Round down, and throw on overflow. More...
Functions | |
template<fixed_point Fxd> | |
constexpr Fxd | div (Fxd a, Fxd b) |
Divide rounding down, throw on overflow. | |
template<fixed_point Fxd> | |
constexpr Fxd | mul (Fxd a, Fxd b) |
Multiply rounding down, throw on overflow. | |
Round down, and throw on overflow.
|
constexpr |
Divide rounding down, throw on overflow.
Definition at line 275 of file except.hpp.
|
constexpr |
Multiply rounding down, throw on overflow.
Definition at line 286 of file except.hpp.