def of_nat

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

import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F64
import Base

623# the double nearest to n (exact below 2^53)
624def of_nat(+n: Nat) -> F64:
625  of_nat_z(n, Nat.is_eq(n, 0n))

Uses (4)

Used by (1)