This is an abstract class, it should be specialized for all numerical data types. These specialized classes like Tolerance<double> may offer additional tuning parameters.
Tolerance<long long int>
Tolerance<unsigned long long int>
#include <lemon/tolerance.h>
| Static Public Member Functions | |
| static Value | zero () | 
| Returns the zero value. | |
| Comparisons | |
| The concept is that these bool functions return with  trueonly if the related comparisons hold even if some numerical error appeared during the computations. | |
| static bool | less (Value a, Value b) | 
| Returns trueifais surely strictly less thanb. | |
| static bool | different (Value a, Value b) | 
| Returns trueifais surely different fromb. | |
| static bool | positive (Value a) | 
| Returns trueifais surely positive. | |
| static bool | negative (Value a) | 
| Returns trueifais surely negative. | |
| static bool | nonZero (Value a) | 
| Returns trueifais surely non-zero. | |
 1.5.9
 1.5.9