os/libc/math.h

23 lines
386 B
C

/**
* \file
*/
#ifndef MATH_H
#define MATH_H
/**
* Round a float to the next biggist integer if it is non-integral
* \param num the number to round
* \returns the rounded number
*/
float ceilf(float num);
/**
* Round a double to the next biggist integer if it is non-integral
* \param num the number to round
* \returns the rounded number
*/
double ceil(double num);
#endif