|
libfxd 0.2.dev
A fixed-point library for C++.
|
#include "concepts.hpp"#include "detail/add.hpp"#include "detail/raw-mul.hpp"#include "detail/shift.hpp"Go to the source code of this file.
Namespaces | |
| namespace | fxd |
| This is the namespace where the entire library is defined. | |
| namespace | fxd::zero |
| Round to zero. | |
| namespace | fxd::up |
| Round up. | |
| namespace | fxd::down |
| Round down. | |
Functions | |
| template<fixed_point Fxd> | |
| constexpr Fxd | mul (Fxd a, Fxd b) noexcept |
| Multiply rounding to zero. | |
| template<fixed_point Fxd> | |
| constexpr Fxd | mul (Fxd a, Fxd b) noexcept |
| Multiply rounding up. | |
| template<fixed_point Fxd> | |
| constexpr Fxd | mul (Fxd a, Fxd b) noexcept |
| Multiply rounding down. | |