const
Type MathLimits<Type>::kPosMin =
PREFIX##_MIN; \
const
Type MathLimits<Type>::kPosMax =
PREFIX##_MAX; \
const
Type MathLimits<Type>::kMin = -MathLimits<Type>::kPosMax; \
const
Type MathLimits<Type>::kMax = MathLimits<Type>::kPosMax; \
const
Type MathLimits<Type>::kNegMin = -MathLimits<Type>::kPosMin; \
const
Type MathLimits<Type>::kNegMax = -MathLimits<Type>::kPosMax; \
const
Type MathLimits<Type>::kEpsilon =
PREFIX##_EPSILON; \
\
const
Type MathLimits<Type>::kStdError = \
32 * (DBL_EPSILON * DBL_EPSILON > MathLimits<Type>::kEpsilon \
? DBL_EPSILON * DBL_EPSILON : MathLimits<Type>::kEpsilon); \
DEF_PRECISION_LIMITS(
Type) \
const
Type MathLimits<Type>::kNaN = HUGE_VAL - HUGE_VAL; \
const
Type MathLimits<Type>::kPosInf = HUGE_VAL; \
const
Type MathLimits<Type>::kNegInf = -HUGE_VAL;
#define DEF_COMMON_LIMITS(Type)
Definition: mathlimits.cc:47
Definition: xmlparse.c:154
Type
Type of JSON value.
Definition: rapidjson.h:616