TorchLean API

FloatLib.Floats.Formats.Posit.Configured

Configured posit ExecFloat values #

Import this module to define a standard posit by its total encoded width:

abbrev P32 := ExecFloat.Posit (bits := 32)

Every configured posit is an ordinary ExecFloat value, uses a statically selected carrier, and exposes its exact semantics through the common proof infrastructure.

Configured.Type owns the public type constructor, the modules below Configured.Storage own packed-carrier selection and codecs, and Configured.Plan.Dispatch installs certified operation backends. The value-facing implementation is separated further:

Raw words are deliberately lower-level than ordinary numeric construction. They are useful for serialization, conformance vectors, and encoding proofs; arithmetic clients should use numeric literals and the operation interface once the corresponding certified capability is imported.

References #