TwiceAsNice  2019-02-18
Namespaces | Functions
Helper.h File Reference
#include <cmath>
Include dependency graph for Helper.h:

Namespaces

 Nice
 

 
 Nice::Helper
 

Functions

bool Nice::Helper::fuzzyCompare (double p1, double p2)
 
bool Nice::Helper::fuzzyCompare (float p1, float p2)
 
template<typename T >
const T & Nice::Helper::min (const T &a, const T &b)
 
template<typename T >
const T & Nice::Helper::max (const T &a, const T &b)
 
template<typename T >
const T & Nice::Helper::bound (const T &min, const T &val, const T &max)
 
static bool Nice::Helper::isNull (double d)
 

This function tests a double for a null value. More...
 
static bool Nice::Helper::fuzzyIsNull (double d)
 
static bool Nice::Helper::isNull (float f)
 This function tests a float for a null value. More...
 
static bool Nice::Helper::fuzzyIsNull (float f)