Lines Matching defs:kEpsilon
559 // If a chop falls within a distance of "kEpsilon" from 0 or 1, throw it out. Tangents become
564 constexpr static float kEpsilon = 1.f / (1 << 11);
565 // Floating-point representation of "1 - 2*kEpsilon".
569 SkASSERT(sk_bit_cast<float>(kIEEE_one_minus_2_epsilon) == 1 - 2*kEpsilon);
605 // kEpsilon of one another (in parametric space). This is close enough for our purposes to
607 float cuspThreshold = a * (kEpsilon/2);
625 // Is "root" inside the range [kEpsilon, 1 - kEpsilon)?
626 if (sk_bit_cast<uint32_t>(root - kEpsilon) < kIEEE_one_minus_2_epsilon) {
639 // Is "root" inside the range [kEpsilon, 1 - kEpsilon)?
640 if (sk_bit_cast<uint32_t>(root - kEpsilon) < kIEEE_one_minus_2_epsilon) {
671 auto inside = (roots > kEpsilon) & (roots < (1 - kEpsilon));