Function: fceiling

fceiling is a function defined in floatfns.c.

Signature

(fceiling ARG)

Documentation

Return the smallest integer no less than ARG, as a float.

(Round toward +inf.)

Other relevant functions are documented in the number group.

View in manual

Probably introduced at or before Emacs version 19.23.

Shortdoc

;; number
(fceiling 1.2)
    => 2.0

Source Code

// Defined in /usr/src/emacs/src/floatfns.c
{
  CHECK_FLOAT (arg);
  double d = XFLOAT_DATA (arg);
  d = ceil (d);
  return make_float (d);
}