|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Functions | |
| template<typename FpType = double> | |
| std::vector< FpType > | scaled (const std::vector< FpType > &e, int s) |
| template<typename FpType = double> | |
| void | split_for_scaling (const std::vector< FpType > &e, int s, std::vector< FpType > &hi, std::vector< FpType > &lo) |
| template<typename FpType = double> | |
| std::vector< FpType > | canonical_overflow (std::vector< FpType > r) |
| template<typename FpType = double> | |
| int | leading_exponent (const std::vector< FpType > &e) |
|
inline |
|
inline |
|
inline |
|
inline |