Configured bounded fixed-point identity #
The encoded bounded fixed-point family supplies the public ExecFloat.BoundedFixedPoint type.
Its runtime carrier is exactly FixedInt width; overflow policy belongs to explicitly named
operations.
inductive
FloatLib.Floats.ExecFloat.BoundedFixedPoint.Family
(radix : Numerics.Radix)
(fractionalDigits width : ℕ)
:
Type-level identity of a bounded fixed-point grid.
- format {radix : Numerics.Radix} {fractionalDigits width : ℕ} : Family radix fractionalDigits width
Instances For
@[instance_reducible]
instance
FloatLib.Floats.ExecFloat.BoundedFixedPoint.instEncodedFormatFamily
(radix : Numerics.Radix)
(fractionalDigits width : ℕ)
:
Numerics.EncodedFormat (Family radix fractionalDigits width)
@[instance_reducible]
instance
FloatLib.Floats.ExecFloat.BoundedFixedPoint.instFormatSemanticsFamily
(radix : Numerics.Radix)
(fractionalDigits width : ℕ)
:
Numerics.FormatSemantics (Family radix fractionalDigits width)
@[reducible, inline]
abbrev
FloatLib.Floats.ExecFloat.BoundedFixedPoint
(radix : Numerics.Radix)
(fractionalDigits width : ℕ)
:
Fixed-width radix-parametric fixed point with explicit overflow-policy operations.