TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Configured.Formatting

External character output for configured binary values #

Storage selection affects neither the characters nor the exception indicators. The descriptor model supplies the shortest, exact, significant-digit, fixed, scientific and hexadecimal algorithms.

@[inline]

Write a configured value as text, as Model.format: by default the shortest decimal that reads back as value (what toString and #eval show), otherwise in style with rounding in mode and, with status := true, the inexact indicator.

Instances For
    @[simp]

    Text and its status are independent of the storage representation.