def OfNat.value

bend-collections-laws-math@1.0.0.0 · spec/math/f64.bend:319

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

319# exact below 2^53, rounded above (the runtime bounds Nat by 2^48)
320def OfNat.value(+n: Nat) -> Type:
321  {F.of_nat(n) == round(False{}, n, zb()) : F.F64}

Uses (6)

Used by (1)