|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <iostream>#include <iomanip>#include <sstream>#include <string>#include <vector>#include <chrono>Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<typename Scalar> | |
| void | sw::universal::ConstructionPerformanceWorkload (size_t NR_OPS) |
| template<typename Scalar> | |
| void | sw::universal::ShiftPerformanceWorkload (size_t NR_OPS) |
| template<typename Scalar> | |
| void | sw::universal::AdditionSubtractionWorkload (size_t NR_OPS) |
| template<typename Scalar> | |
| void | sw::universal::MultiplicationWorkload (size_t NR_OPS) |
| template<typename Scalar> | |
| void | sw::universal::DivisionWorkload (size_t NR_OPS) |
| template<typename Scalar> | |
| void | sw::universal::RemainderWorkload (size_t NR_OPS) |
| template<typename Ty> | |
| std::string | sw::universal::toPowerOfTen (Ty value) |
| void | sw::universal::PerformanceRunner (const std::string &tag, void(f)(size_t), size_t NR_OPS) |