|
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 | |
| bool | sw::universal::parse (const std::string &number, qd &v) |
| qd | sw::universal::abs (qd const &) |
| qd | sw::universal::sqrt (const qd &a) |
| sqrt returns the square root of its input, returns NaN if argument is negative | |
| qd | sw::universal::fabs (qd) |
| qd | sw::universal::fma (qd const &, qd const &, qd const &) |