NLA-lib Explorer

NLAlib.Ops.Float64.roundedWord

Library · def

Round a real target to a represented binary64 word within range, and return positive zero outside range. This is the declared logical literal policy, separate from native arithmetic.

NLAlib.Ops.Float64.roundedWord (x : ℝ) : Computation.FiniteFloat

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsFloat.