|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Functions | |
| template<typename Rational> | |
| bool | append_digit (Rational &r, int digit, bool negative, const Rational &ten, bool tenFits) |
| template<typename Rational> | |
| bool | scale_by_ten (Rational &r, bool negative, const Rational &ten, bool tenFits) |
| template<typename Rational> | |
| bool | divide_by_ten (Rational &r, const Rational &ten, bool tenFits) |
| constexpr bool | is_digit (char c) noexcept |
| bool sw::universal::rational_parse::append_digit | ( | Rational & | r, |
| int | digit, | ||
| bool | negative, | ||
| const Rational & | ten, | ||
| bool | tenFits ) |
| bool sw::universal::rational_parse::divide_by_ten | ( | Rational & | r, |
| const Rational & | ten, | ||
| bool | tenFits ) |
|
constexprnoexcept |
| bool sw::universal::rational_parse::scale_by_ten | ( | Rational & | r, |
| bool | negative, | ||
| const Rational & | ten, | ||
| bool | tenFits ) |