Up

Module Parts

Returns the fractional part and the whole (i.e. integer) part. For example, modf (-3.14) returns { fractional = -0.14; integral = -3.; }!

Signature

type t
val fractional : t -> outer
val integral : t -> outer