#include <cmath>
#include <algorithm>
|
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) |
|
◆ 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 |