def Ilog.zero

bend-collections-laws-math@1.0.0.0 · spec/math/natural.bend:237

import bend-collections-laws-math@1.0.0.0/spec/math/natural.bend as Natural
import Base
import bend-collections-laws-math@1.0.0.0/src/math/natural.bend as M

237# PDF 2.3 / 4.5: log(0) is a domain error, as is a base below 2
238def Ilog.zero(+b: Nat) -> Type:
239  {M.ilog(0n, b) == Fail{M.Domain{}} : Result<&2, &2, M.MathError, Nat>}

Uses (4)

Used by (1)