Runtime packing for configured posits #
Code.toModel and Code.ofModel form the canonical executable conversion pair for every static
posit carrier. Closed plans reduce to primitive or fixed-limb operations; the wide branch is the
identity on the exact-width proof model.
@[inline]
def
FloatLib.Floats.Formats.Posit.Configured.Code.toModel
{format : Format}
{plan : StoragePlan format}
:
Decode a packed runtime code into the exact-width proof model.
Instances For
@[inline]
def
FloatLib.Floats.Formats.Posit.Configured.Code.ofModel
{format : Format}
{plan : StoragePlan format}
:
Pack an exact proof-model value into the selected runtime carrier.