|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Functions | |
| void | append_exponent (std::string &str, int e, bool uppercase) |
| std::vector< int > | extract_digits (uint64_t m) |
| std::string | format_scientific (const std::vector< int > &digits, int sci_exponent, std::streamsize precision, bool uppercase) |
| std::string | format_fixed (const std::vector< int > &digits, int sci_exponent, std::streamsize precision) |
| void | apply_width (std::string &s, std::streamsize width, bool internal_align, bool left, char fill) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |