def ov_val
import bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend as Fixedimport Base
import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as F
59def ov_val(~T: Data, ~val: T -> Nat, r: F.Over<T>) -> Nat:
60 match r:
61 case F.OV{v, f}:
62 val(v)
Uses (2)
Used by (6)
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:OverflowingAdd.value
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:OverflowingMul.value
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:OverflowingPow.value
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:OverflowingShl.value
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:OverflowingShr.value
- …