def sq_n

bend-collections-laws-math@1.0.0.0 · src/math/f64.bend:487

import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F64
import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X

487def sq_n(+e: Nat, +m: W.U64, odd: Bool) -> F64:
488  match odd:
489    case True{}:
490      sq_even(e, m)
491    case False{}:
492      sq_even(Nat.sub(e, 1n), X.add(m, m))

Uses (7)

Used by (10)