NLA-lib Explorer

NLAlib.Ops.Examples.FixedPoint.val_roundedWord_of_abs_le

Library · theorem

Saturation is inactive when the exact target is in the integer interval.

NLAlib.Ops.Examples.FixedPoint.val_roundedWord_of_abs_le {bound : ℕ} {x : ℝ} (hx : |x| ≤ ↑bound) :
  (Ops.Examples.FixedPoint.roundedWord bound x).val = round x

Full source on GitHub

Import NLAlib.Ops.Examples.FixedPoint.