def float_of
import bend-collections-laws-crypto@1.0.0.0/src/math/random/rand.bend as Randimport Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-crypto@1.0.0.0/src/math/f64.bend as F
243def float_of(-S: Data, p: W.U64 & S) -> F.F64 & S:
244 (+x, s) = p
245 (to_float(x), s)