def modf

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

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

1057# (fractional part, integral part), both with the sign of x (Python's modf)
1058def modf(+x: F64) -> F64 & F64:
1059  mf_cls(x, Nat.is_eq(exp_field(x), 2047n))

Uses (5)

Used by (1)