#include <limits>
#include <tesseract/platform.h>
Go to the source code of this file.
|
| template<class T > |
| bool | NearlyEqual (T x, T y, T tolerance) |
| |
◆ NearlyEqual()
template<class T >
| bool NearlyEqual |
( |
T |
x, |
|
|
T |
y, |
|
|
T |
tolerance |
|
) |
| |
Definition at line 36 of file host.h.
39 return diff <= tolerance && -diff <= tolerance;