def up_ok

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

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

439def up_ok(+x: U32, +r: U32) -> Bool:
440  Bool.and(U32.is_lt(r, 65535), U32.is_le(U32.mul(U32.add(r, 1), U32.add(r, 1)), x))

Uses (7)

Used by (2)