os/libc/math.h

23 lines
386 B
C
Raw Normal View History

2020-07-26 15:38:29 -05:00
/**
* \file
*/
#ifndef MATH_H
#define MATH_H
2020-07-26 15:38:29 -05:00
/**
* 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);
2020-07-26 15:38:29 -05:00
/**
* 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