def clear0

bend-collections@1.0.0.0 · src/math/w64.bend:557

import bend-collections@1.0.0.0/src/math/w64.bend as W64
import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W

557# a with bit 0 cleared when b
558def clear0(+a: W.U64, b: Bool) -> W.U64:
559  W.U64{U32.sub(lo(a), U32.and(lo(a), b32(b))), hi(a)}

Uses (7)

Used by (1)