Math Library Functions


ceil, ceilf


Syntax

#include <math.h>
double ceil(double x);
float  ceilf(float x);

Arguments

x      original value

Return Value

The minimum integer that is greater than x 

Description

Returns the minimum integer that is greater than x.