15#ifndef O2_MCH_CONTOUR_HELPER_H
16#define O2_MCH_CONTOUR_HELPER_H
31template <
typename T,
typename U>
34 const intmax_t botT = intmax_t(std::numeric_limits<T>::lowest());
35 const intmax_t botU = intmax_t(std::numeric_limits<U>::lowest());
36 const uintmax_t topT = uintmax_t(std::numeric_limits<T>::max());
37 const uintmax_t topU = uintmax_t(std::numeric_limits<U>::max());
38 return !((botT > botU && value < static_cast<U>(botT)) || (topT < topU && value >
static_cast<U
>(topT)));
43 return std::fabs(
b -
a) < 1E-4;
GLboolean GLboolean GLboolean b
GLsizei const GLfloat * value
GLboolean GLboolean GLboolean GLboolean a
bool isStrictlyBelow(double a, double b)
bool areEqual(double a, double b)
bool CanTypeFitValue(const U value)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...