|
Isis 3.0 Developer's Reference (API) |
Home |
Provides a robust comparison of double/float values. More...
#include <CollectorMap.h>
Public Member Functions | |
| bool | operator() (const K &v1, const K &v2) const |
| Compares v1 and v2 as floating point values. | |
Provides a robust comparison of double/float values.
This functor compares floating point values using a default epsilon of 1.0e-6. It can be used for doubles or floats, however floats will be promoted to double for the comparison.
| bool Isis::RobustFloatCompare< K >::operator() | ( | const K & | v1, | |
| const K & | v2 | |||
| ) | const [inline] |