Coverage Control Library
Loading...
Searching...
No Matches
Constants

Variables

double const kEps = 1e-10
 
float const kEpsf = 1e-6f
 
double const kLargeEps = 1e-4
 
double const kSqrt2 = std::sqrt(2)
 
double const kOneBySqrt2 = 1. / std::sqrt(2)
 
float const kOneBySqrt2f = 1.f / sqrtf(2.f)
 
double const kInfD
 
constexpr auto kMaxPrecision
 

Detailed Description

Variable Documentation

◆ kEps

double const kEps = 1e-10

Epsilon for double comparison

Definition at line 48 of file constants.h.

◆ kEpsf

float const kEpsf = 1e-6f

Epsilon for float comparison

Definition at line 49 of file constants.h.

◆ kInfD

double const kInfD
Initial value:
=
std::numeric_limits<double>::infinity()

Infinity for double

Definition at line 54 of file constants.h.

◆ kLargeEps

double const kLargeEps = 1e-4

Large epsilon for double comparison

Definition at line 50 of file constants.h.

◆ kMaxPrecision

auto kMaxPrecision
constexpr
Initial value:
{std::numeric_limits<long double>::digits10 +
1}

Maximum precision for long double

Definition at line 56 of file constants.h.

◆ kOneBySqrt2

double const kOneBySqrt2 = 1. / std::sqrt(2)

1 by square root of 2

Definition at line 52 of file constants.h.

◆ kOneBySqrt2f

float const kOneBySqrt2f = 1.f / sqrtf(2.f)

1 by square root of 2

Definition at line 53 of file constants.h.

◆ kSqrt2

double const kSqrt2 = std::sqrt(2)

Square root of 2

Definition at line 51 of file constants.h.