Optional real-valued semantics of posits #
The exact rational meaning of every ordinary posit embeds into mathlib's Real. NaR remains
ExceptionalValue.notAReal in the complete view and none in the partial view.
Posit.Semantics.Exact.Runtime provides the executable rational denotation. This module adds
real coordinates for proofs.
@[inline]
noncomputable def
FloatLib.Floats.Formats.Posit.Model.ExactValue.toRealValue
{format : Format}
(value : ExactValue format)
:
Canonically embed finite rational meanings into mathlib reals.
Instances For
@[inline]
noncomputable def
FloatLib.Floats.Formats.Posit.Model.decodeReal
{format : Format}
(value : Model format)
:
Complete real-valued view, obtained only by mapping finite rational values.