def tu32_w

bend-collections-laws-math@1.0.0.0 · src/math/f64.bend:789

import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F64
import Base
import bend-collections-laws-math@1.0.0.0/src/math/num.bend as N
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X

789def tu32_w(+w: W.U64, fits: Bool) -> Result<&2, &2, N.NumError, U32>:
790  match fits:
791    case True{}:
792      Done{X.lo(w)}
793    case False{}:
794      Fail{N.Overflow{}}

Uses (6)

Used by (3)