Go to the first, previous, next, last section, table of contents.


ceil

Syntax

#include <math.h>

double ceil(double x);

Description

This function computes the smallest integer greater than or equal to x.

Return Value

The smallest integer value greater than or equal to x.

Portability

ANSI, POSIX


Go to the first, previous, next, last section, table of contents.