def IsPrime.value

bend-collections-laws-math@1.0.0.0 · spec/math/fixed.bend:187

import bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend as Fixed
import Base
import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as F
import bend-collections-laws-math@1.0.0.0/spec/math/number.bend as SN

187def IsPrime.value(+a: U32) -> Type:
188  {F.u32_is_prime(a) == SN.prime(U32.to_nat(a)) : Bool}

Uses (5)

Used by (2)