In each of the following,
EXPR
must evaluate to floating_ point.
ceil (EXPR)
.
The value is the smallest integer not smaller than the value of
EXPR
.
floor(EXPR)
. The value is the largest integer not larger than
the value of
EXPR
.
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.