Go to the source code of this file.
Defines | |
#define | DBL_TOLERANCE 0.0001 |
The default tolerance for double-sized floating-point comparison functions. | |
#define | FLT_TOLERANCE 0.0001f |
The default tolerance for single-sized floating-point comparison functions. | |
Typedefs | |
typedef vector< double > | DoubleList |
A dynamically-sized array of double-sized floating-point values. | |
typedef vector< float > | FloatList |
A dynamically-sized array of floating-point values. | |
Functions | |
bool | IsEquivalent (float f1, float f2) |
Returns whether two floating-point values are equivalent within a given tolerance. | |
bool | IsEquivalent (float f1, float f2, float tolerance) |
Returns whether two floating-point values are equivalent within a given tolerance. | |
bool | IsEquivalent (double f1, double f2) |
Returns whether two double-sized floating-point values are equivalent. | |
bool | IsEquivalent (double f1, double f2, double tolerance) |
Returns whether two double-sized floating-point values are equivalent within a given tolerance. |
|
Returns whether two double-sized floating-point values are equivalent within a given tolerance.
|
|
Returns whether two double-sized floating-point values are equivalent.
|
|
Returns whether two floating-point values are equivalent within a given tolerance.
|
|
Returns whether two floating-point values are equivalent within a given tolerance.
|