def isqrt

bend-collections@1.0.0.0 · src/math/generic.bend:361

import bend-collections@1.0.0.0/src/math/generic.bend as Generic
import Base
import bend-collections@1.0.0.0/src/math/num.bend as N

361# the instance's integer square root (a hardware estimate and an exact
362# integer correction for U32 and U64)
363def isqrt(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, +n: T) -> T:
364  op(N.Sqrt{n})

Uses (3)

Used by (0)

No other definition uses this definition.