Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->ceil() ceill()

Summary

#include <math.h>

    
double ceil(double x);Round up to nearest double precision integer
long double ceill(long double x);Round up to nearest long double precision integer

Parameter

x    The floating point value to be rounded

Description

These functions calculate the smallest integer not less than x.


Return

These functions return the smallest integer not less than x.