NLAlib.Computation.exists_binaryFloatQuantize_eq_some_of_abs_le
Library · theorem
Every exact input in the finite interval can be rounded successfully.
NLAlib.Computation.exists_binaryFloatQuantize_eq_some_of_abs_le (fmt : Float.Model.Format)
(he : 2 ≤ fmt.exponentBits) (r : ℝ → ℤ) (hr : ∀ (x : ℝ), Computation.AbsRelErr 0 (1 / 2) x ↑(r x))
{a : ℝ} (ha : |a| ≤ fmt.maxFinite) : ∃ w, Computation.binaryFloatQuantize fmt he r hr a = some wImport NLAlib.Matrix.FinitePrecision.BinaryFloatCarrier.