sta-peak/include/sta/math/utils.hpp

19 lines
319 B
C++

#ifndef INC_UTILS_HPP_
#define INC_UTILS_HPP_
#include <math.h>
namespace sta
{
namespace math
{
float fast_inv_sqrt(float);
int clip(int value, int min, int max);
float clip(float value, float min, float max);
} // namespace math
} // namespace sta
#endif /* INC_UTILS_HPP_ */