def pat

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

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/spec/lib/common.bend as C
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F

437# the magnitude bits: exponent field and fraction as one integer below 2^63
438def pat(+x: F.F64) -> Nat:
439  Nat.add(frac(x), C.shift(52n, efield(x)))

Uses (6)

Used by (10)