FastLED 3.9.15
Loading...
Searching...
No Matches

◆ epsilon()

Approx & fl::test::Approx::epsilon ( double newEpsilon)
inline

Set custom relative epsilon for comparison Comparison uses: epsilon * (scale + max(|a|, |b|))

Definition at line 407 of file fltest.h.

407 {
408 mEpsilon = newEpsilon;
409 return *this;
410 }
double mEpsilon
Definition fltest.h:478

References Approx(), FL_NOEXCEPT, and mEpsilon.

+ Here is the call graph for this function: