|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cstdint>#include <string>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<unsigned esizesize, unsigned fsizesize, typename bt> | |
| bool | sw::universal::parse (const std::string &txt, unum< esizesize, fsizesize, bt > &v) |
| template<unsigned esizesize, unsigned fsizesize, typename bt> | |
| unum< esizesize, fsizesize, bt > | sw::universal::abs (const unum< esizesize, fsizesize, bt > &v) |