C Run-Time Library Reference
ceil
ceiling
Synopsis
#include <math.h>
double ceil(double);
float ceilf(float);
Description
The
functions return the smallest integral value, that is not less than
ceil
its input.
Error Conditions
The
functions do not return an error condition.
ceil
Example
#include <math.h>
double y;
y = ceil (1.05);
y = ceilf (-1.05);
See Also
floor
3-42
/* y = 2.0
/* y = -1.0 */
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
*/
for ADSP-219x DSPs
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers