NLA-lib Explorer

NLAlib.Ops.Examples.FixedPoint.quantize

Library · def

Quantize a real target on the scaled grid, with a specified saturation policy.

NLAlib.Ops.Examples.FixedPoint.quantize (bound scale : ℕ) (x : ℝ) :
  Ops.Examples.FixedPoint.Word bound

Full source on GitHub

Import NLAlib.Ops.Examples.FixedPoint.