|
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 <limits>#include <cmath>#include <cstdint>#include <algorithm>Classes | |
| struct | sw::universal::RangeStatistics |
| Statistics collected during range analysis. More... | |
| struct | sw::universal::PrecisionRecommendation |
| Precision recommendation based on range analysis. More... | |
| class | sw::universal::range_analyzer< NumberSystem > |
| Range analyzer for tracking value distributions during computation. More... | |
Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| template<typename Container> | |
| range_analyzer< typename Container::value_type > | sw::universal::analyzeRange (const Container &values) |
| Convenience function: analyze a container of values. | |
| template<typename SourceType, typename TargetType> | |
| void | sw::universal::compareRanges (const range_analyzer< SourceType > &analyzer, std::ostream &ostr) |
| Convenience function: compare ranges between source and target types. | |