def modf
import bend-collections@1.0.0.0/src/math/f64.bend as F64import 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 (0)
No other definition uses this definition.