Static Public Member Functions | List of all members
google::protobuf::MathUtil Class Reference

#include <mathutil.h>

Static Public Member Functions

template<typename T >
static T Abs (const T x)
 
template<typename T >
static T Abs (const T x)
 
template<typename T >
static MathLimits< T >::UnsignedType AbsDiff (const T x, const T y)
 
template<typename T >
static internal::MakeUnsignedT< TAbsDiff (const T x, const T y)
 
template<typename T >
static bool AlmostEquals (T a, T b)
 
template<typename T >
static bool AlmostEquals (T a, T b)
 
template<typename T >
static T Max (const T x, const T y)
 
template<typename T >
static T Max (const T x, const T y)
 
template<typename T >
static T Sign (T value)
 
template<typename T >
static T Sign (T value)
 
template<typename T >
static bool WithinFractionOrMargin (const T x, const T y, const T fraction, const T margin)
 
template<typename T >
static bool WithinFractionOrMargin (const T x, const T y, const T fraction, const T margin)
 

Detailed Description

Definition at line 58 of file bloaty/third_party/protobuf/src/google/protobuf/stubs/mathutil.h.

Member Function Documentation

◆ Abs() [1/2]

template<typename T >
static T google::protobuf::MathUtil::Abs ( const T  x)
inlinestatic

◆ Abs() [2/2]

template<typename T >
static T google::protobuf::MathUtil::Abs ( const T  x)
inlinestatic

◆ AbsDiff() [1/2]

template<typename T >
static MathLimits<T>::UnsignedType google::protobuf::MathUtil::AbsDiff ( const T  x,
const T  y 
)
inlinestatic

◆ AbsDiff() [2/2]

template<typename T >
static internal::MakeUnsignedT<T> google::protobuf::MathUtil::AbsDiff ( const T  x,
const T  y 
)
inlinestatic

◆ AlmostEquals() [1/2]

template<typename T >
static bool google::protobuf::MathUtil::AlmostEquals ( T  a,
T  b 
)
inlinestatic

◆ AlmostEquals() [2/2]

template<typename T >
static bool google::protobuf::MathUtil::AlmostEquals ( T  a,
T  b 
)
inlinestatic

◆ Max() [1/2]

template<typename T >
static T google::protobuf::MathUtil::Max ( const T  x,
const T  y 
)
inlinestatic

◆ Max() [2/2]

template<typename T >
static T google::protobuf::MathUtil::Max ( const T  x,
const T  y 
)
inlinestatic

◆ Sign() [1/2]

template<typename T >
static T google::protobuf::MathUtil::Sign ( T  value)
inlinestatic

◆ Sign() [2/2]

template<typename T >
static T google::protobuf::MathUtil::Sign ( T  value)
inlinestatic

◆ WithinFractionOrMargin() [1/2]

template<typename T >
bool google::protobuf::MathUtil::WithinFractionOrMargin ( const T  x,
const T  y,
const T  fraction,
const T  margin 
)
static

◆ WithinFractionOrMargin() [2/2]

template<typename T >
static bool google::protobuf::MathUtil::WithinFractionOrMargin ( const T  x,
const T  y,
const T  fraction,
const T  margin 
)
static

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:20