24 #ifndef AVUTIL_TABLEGEN_H 25 #define AVUTIL_TABLEGEN_H 33 return x < 0 ? -pow(-x, 1.0 / 3.0) : pow(x, 1.0 / 3.0);
39 return x >= 0 ?
floor(x + 0.5) :
ceil(x - 0.5);
47 #define llrint ff_llrint 53 #define lrint ff_lrint static __device__ float ceil(float a)
static __device__ float floor(float a)
static long ff_lrint(double x)
static long long ff_llrint(double x)
static double ff_cbrt(double x)
static double ff_rint(double x)