libfxd 0.2.dev
A fixed-point library for C++.
Loading...
Searching...
No Matches
fixed.hpp File Reference
#include <concepts>
#include <limits>
#include "detail/types.hpp"

Go to the source code of this file.

Classes

struct  fixed< Int, Frac, Raw >
 The fixed-point class template. More...
 

Namespaces

namespace  fxd
 This is the namespace where the entire library is defined.
 

Typedefs

template<int Int, int Frac>
using ufixed = fixed< Int, Frac, detail::select_uint_t< Int+Frac > >
 Alias for creating unsigned fxd::fixed.