TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Configured.Parsing

Character input for configured binary values #

Configured binary values use the descriptor model's exact character parser. A successful parse differs from the model's only in storage representation, so the decoded numerical value is the same.

Parse decimal, hexadecimal, dyadic, or special text with nearest-even rounding by default.

Set mode to choose another direction. With limits := some bounds, bounds.maxBytes bounds the original UTF-8 input and bounds.maxExponent bounds its adjusted exponent before exact conversion, and some {} selects the default bounds. Set status := true to return the value together with all five IEEE exception flags and the ternary value. Malformed or oversized input returns Model.ParseError.

Instances For

    Requesting status preserves every model bit, IEEE flag, and the ternary value across the storage conversion.