MyOS Libc
math.h File Reference

Go to the source code of this file.

Functions

float ceilf (float num)
 
double ceil (double num)
 

Function Documentation

◆ ceil()

double ceil ( double  num)

Round a double to the next biggist integer if it is non-integral

Parameters
numthe number to round
Returns
the rounded number

◆ ceilf()

float ceilf ( float  num)

Round a float to the next biggist integer if it is non-integral

Parameters
numthe number to round
Returns
the rounded number