ONE - On-device Neural Engine
|
#include <AbsoluteEpsilonEqual.h>
Public Member Functions | |
bool | operator() (float lhs, float rhs) const |
Friends | |
AbsoluteEpsilonEqualFunctor | absolute_epsilon_equal (float) |
Definition at line 23 of file AbsoluteEpsilonEqual.h.
bool nike::AbsoluteEpsilonEqualFunctor::operator() | ( | float | lhs, |
float | rhs | ||
) | const |
Definition at line 25 of file AbsoluteEpsilonEqual.cpp.
|
friend |
For example, "NAN == NAN" is false but "absolute_epsilon_equal(0.001f)(NAN, NAN)" is true.
Definition at line 37 of file AbsoluteEpsilonEqual.cpp.