def clear0
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections-laws-math@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 (7)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64round:rpw
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64round:cv
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64round:cvb
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64round:rpf0
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64round:rpfE
- …