def clear0
import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections-laws-crypto@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)}