|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <iostream>#include <string>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<typename IntegerType> | |
| bool | sw::universal::isRepresentable (IntegerType a, IntegerType b) |
| template<typename IntegerType> | |
| void | sw::universal::reportRepresentability (IntegerType a, IntegerType b) |
| bool | sw::universal::isRepresentableInBinary (const std::string &scientificDecimalNumber) |