#include <google/protobuf/stubs/mathlimits.h>
#include <google/protobuf/stubs/common.h>
Go to the source code of this file.
◆ DEF_FP_LIMITS
Value: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); \
const
Type MathLimits<Type>::kNaN = HUGE_VAL - HUGE_VAL; \
const
Type MathLimits<Type>::kPosInf = HUGE_VAL; \
const
Type MathLimits<Type>::kNegInf = -HUGE_VAL;
Definition at line 67 of file mathlimits.cc.