TorchLean API

FloatLib.Numerics.Exact.DecimalText.Notation

Fixed and scientific decimal presentation #

These renderers place the decimal point in the digits of an exact decimal record. They perform no rounding and retain coefficient trailing zeros. Scientific notation keeps one digit before the point and always prints an exponent, including for signed zero.

Join whole and fractional digits, omitting the point when there are no fractional digits.

Instances For

    Place exactly places digits after the point, padding on the left when necessary.

    Instances For

      The record recovered from fixed notation: positive powers of ten become integer digits.

      Instances For

        Fixed notation with the original sign and all fractional places specified by the exponent.

        Instances For

          Fixed decimal text, with no precision limit or additional rounding.

          Instances For

            Scientific notation with one leading digit and the original coefficient's trailing zeros. For zero with exponent -places, print places fractional zeros and exponent zero. Every output determines the original decimal record, including its sign and zero precision.

            Instances For

              Scientific decimal text, with no precision limit or additional rounding.

              Instances For