mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-peak.git
synced 2025-06-12 02:45:59 +00:00
19 lines
319 B
C++
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_ */
|