|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cassert>#include <cmath>#include <cstddef>#include <cstdint>#include <limits>#include <universal/number/elreal/block.hpp>#include <universal/number/elreal/zbcl.hpp>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<typename FpType> | |
| ZBCL< FpType > | sw::universal::empty () noexcept |
| template<typename FpType> | |
| ZBCL< FpType > | sw::universal::from_native (double v) |
| template<typename FpType> | |
| double | sw::universal::to_double_approx (const ZBCL< FpType > &stream, std::size_t depth) |