MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / Equal

Function Equal

jni/stasm/misc.h:158–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156// they are equal NANs. Which is not necessarily desireable behaviour.)
157
158static inline bool Equal(const double x, const double y, const double max = 1e-7)
159{
160 return ABS(x-y) < max;
161}
162
163static inline bool IsZero(const double x, const double max = 1e-7)
164{

Callers 2

WhiskerStepFunction · 0.85
IsZeroFunction · 0.85

Calls 1

ABSFunction · 0.85

Tested by

no test coverage detected