OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions
Float.h File Reference
#include <cmath>
#include <algorithm>

Functions

bool fuzzyIsNull (float value, float eps=0.00001f)
 
bool fuzzyIsNull (double value, double eps=0.000000000001)
 
bool fuzzyEquals (float l, float r, float eps=0.00001f)
 
bool fuzzyEquals (double l, double r, double eps=0.000000000001)
 

Function Documentation

◆ fuzzyEquals() [1/2]

bool fuzzyEquals ( double  l,
double  r,
double  eps = 0.000000000001 
)
inline

◆ fuzzyEquals() [2/2]

bool fuzzyEquals ( float  l,
float  r,
float  eps = 0.00001f 
)
inline

◆ fuzzyIsNull() [1/2]

bool fuzzyIsNull ( double  value,
double  eps = 0.000000000001 
)
inline

◆ fuzzyIsNull() [2/2]

bool fuzzyIsNull ( float  value,
float  eps = 0.00001f 
)
inline