package base

  1. Overview
  2. Docs

Module Float.PartsSource

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

Sourcetype t
Sourceval fractional : t -> t
Sourceval integral : t -> t