16#ifndef MATHUTILS_INCLUDE_MATHUTILS_DETAIL_BASICMATH_H_
17#define MATHUTILS_INCLUDE_MATHUTILS_DETAIL_BASICMATH_H_
23#ifndef GPUCA_GPUCODE_DEVICE
39 return o2::gpu::GPUCommonMath::Copysign(
x,
y);
45 return o2::gpu::GPUCommonMath::Min(
x,
y);
51 return o2::gpu::GPUCommonMath::Max(
x,
y);
57 return o2::gpu::GPUCommonMath::Sqrt(
x);
63 return o2::gpu::GPUCommonMath::Abs(
x);
69 return o2::gpu::GPUCommonMath::Float2IntRn(
x);
75 return o2::gpu::GPUCommonMath::Finite(
x);
80 return o2::gpu::GPUCommonMath::Clz(
val);
83GPUdi() unsigned
int popcount(
unsigned int val)
85 return o2::gpu::GPUCommonMath::Popcount(
val);
91 return o2::gpu::GPUCommonMath::Log(
x);
94#ifndef GPUCA_GPUCODE_DEVICE
96GPUhdi() double copysign(
double x,
double y)
98 return std::copysign(
x,
y);
112 return std::nearbyint(
x);
120 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 ...