NLA-lib Explorer

NLAlib.Computation.fixedPointDecode

Library · def

A fixed-point word decodes to its signed integer value divided by the scale. At scale zero the value is the real division junk value zero; accuracy requires positive scale.

NLAlib.Computation.fixedPointDecode (scale : ℕ) {limit : ℕ} (w : Computation.FixedPoint limit) : ℝ

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.FixedPoint.