Defines | Functions

cl_math.h File Reference

#include "../api_core.h"
#include "../System/cl_platform.h"
#include <cmath>
Include dependency graph for cl_math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CL_PI   CL_M_PI_F

Functions

template<typename A , typename B , typename C >
cl_clamp (A val, B minval, C maxval)
template<typename A , typename B >
cl_max (A a, B b)
template<typename A , typename B >
cl_min (A a, B b)
template<typename T >
cl_pow2 (T value)