ONE - On-device Neural Engine
|
#include <RelativeEpsilonEqual.h>
Public Member Functions | |
bool | operator() (float lhs, float rhs) const |
Friends | |
RelativeEpsilonEqualFunctor | relative_epsilon_equal (unsigned) |
Definition at line 23 of file RelativeEpsilonEqual.h.
bool nike::RelativeEpsilonEqualFunctor::operator() | ( | float | lhs, |
float | rhs | ||
) | const |
Definition at line 27 of file RelativeEpsilonEqual.cpp.
|
friend |
For example, "NAN == NAN" is false but "relative_epsilon_equal(1)(NAN, NAN)" is true.
Definition at line 41 of file RelativeEpsilonEqual.cpp.