webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Macros | Functions | Variables
mathlimits.cc File Reference
#include <google/protobuf/stubs/mathlimits.h>
#include <google/protobuf/stubs/common.h>

Namespaces

 google
 
 google::protobuf
 

Macros

#define DEF_COMMON_LIMITS(Type)
 
#define DEF_UNSIGNED_INT_LIMITS(Type)
 
#define DEF_SIGNED_INT_LIMITS(Type)
 
#define DEF_PRECISION_LIMITS(Type)
 
#define DEF_FP_LIMITS(Type, PREFIX)
 

Functions

 google::protobuf::DEF_SIGNED_INT_LIMITS (int16) DEF_SIGNED_INT_LIMITS(int32) DEF_SIGNED_INT_LIMITS(int64) DEF_UNSIGNED_INT_LIMITS(uint16) DEF_UNSIGNED_INT_LIMITS(uint32) DEF_UNSIGNED_INT_LIMITS(uint64) DEF_FP_LIMITS(long double
 

Variables

 google::protobuf::LDBL
 

Macro Definition Documentation

◆ DEF_COMMON_LIMITS

#define DEF_COMMON_LIMITS (   Type)

◆ DEF_FP_LIMITS

#define DEF_FP_LIMITS (   Type,
  PREFIX 
)
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; \
/* 32 is 5 bits of mantissa error; should be adequate for common errors */ \
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

◆ DEF_PRECISION_LIMITS

#define DEF_PRECISION_LIMITS (   Type)

◆ DEF_SIGNED_INT_LIMITS

#define DEF_SIGNED_INT_LIMITS (   Type)

◆ DEF_UNSIGNED_INT_LIMITS

#define DEF_UNSIGNED_INT_LIMITS (   Type)