libfxd 0.2.dev
A fixed-point library for C++.
|
#include <algorithm>
#include <limits>
#include "constructors.hpp"
#include "fixed.hpp"
#include "detail/types.hpp"
Go to the source code of this file.
Classes | |
struct | numeric_limits< fxd::fixed< Int, Frac, Raw > > |
Specialization: fxd::fixed is similar to floating-point. More... | |
Namespaces | |
namespace | std |
STL namespace. | |
Macros | |
#define | LIBFXD_LOG10_2(x) ((x) * 643L / 2136) |
#define | LIBFXD_LOG10_2_CEIL(x) (((x) * 643L + 2135) / 2136) |
#define LIBFXD_LOG10_2 | ( | x | ) | ((x) * 643L / 2136) |
Definition at line 20 of file limits.hpp.
#define LIBFXD_LOG10_2_CEIL | ( | x | ) | (((x) * 643L + 2135) / 2136) |
Definition at line 21 of file limits.hpp.