Functions on floating point numbers.

In each of the following,

EXPR

must evaluate to floating_ point.

  1. ceil (EXPR)

    . The value is the smallest integer not smaller than the value of

    EXPR

    .

  2. floor(EXPR)

    . The value is the largest integer not larger than the value of

    EXPR

    .

  3. fix(EXPR)

    . The value is the same as

    floor(EXPR)

    if

    EXPR > = 0

    , and the same as

    ceil (EXPR)

    if the value of

    EXPR < = 0

    . In other words, the fractional part is discarded.