16#ifndef MATHUTILS_INCLUDE_MATHUTILS_DETAIL_BASICMATH_H_
17#define MATHUTILS_INCLUDE_MATHUTILS_DETAIL_BASICMATH_H_
19#ifndef GPUCA_GPUCODE_DEVICE
38 return o2::gpu::GPUCommonMath::Copysign(
x,
y);
44 return o2::gpu::GPUCommonMath::Min(
x,
y);
50 return o2::gpu::GPUCommonMath::Max(
x,
y);
56 return o2::gpu::GPUCommonMath::Sqrt(
x);
62 return o2::gpu::GPUCommonMath::Abs(
x);
68 return o2::gpu::GPUCommonMath::Float2IntRn(
x);
74 return o2::gpu::GPUCommonMath::Finite(
x);
79 return o2::gpu::GPUCommonMath::Clz(
val);
82GPUdi() unsigned
int popcount(
unsigned int val)
84 return o2::gpu::GPUCommonMath::Popcount(
val);
90 return o2::gpu::GPUCommonMath::Log(
x);
93#ifndef GPUCA_GPUCODE_DEVICE
95GPUhdi() double copysign(
double x,
double y)
97 return std::copysign(
x,
y);
111 return std::nearbyint(
x);
116 return std::isfinite(
x);
return((dphi > 0 &&dphi< constants::math::PI)||dphi< -constants::math::PI) ? true GPUhdi() const expr bool okForPhiMax(T phiMax
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...