def over96
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
300# the 96-bit product p exceeds x = xh * 2^64 + xl
301def over96(+xl: W.U64, +xh: U32, p: W.U64 & U32) -> Bool:
302 (+pl, +ph) = p
303 Bool.or(U32.is_lt(xh, ph), Bool.and(U32.is_eq(xh, ph), lt(xl, pl)))
Uses (10)
Used by (8)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64dm:QS
- bend-collections-laws-math@1.0.0.0/src/math/w64:q_start
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64dm:qs_pair
- bend-collections-laws-math@1.0.0.0/src/math/w64:q_fix
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64dm:ovq
- …