def q_clamp
import bend-collections@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W
289# min(q, 2^32 - 1)
290def q_clamp(+q: W.U64) -> U32:
291 q_clamp_z(lo(q), U32.is_zero(hi(q)))
import bend-collections@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W
289# min(q, 2^32 - 1)
290def q_clamp(+q: W.U64) -> U32:
291 q_clamp_z(lo(q), U32.is_zero(hi(q)))