Searched refs:discr (Results 1 - 4 of 4) sorted by relevance
/third_party/skia/src/core/ |
H A D | SkGeometry.cpp | 588 static float solve_quadratic_equation_for_midtangent(float a, float b, float c, float discr) { 590 float q = -.5f * (b + copysignf(sqrtf(discr), b)); 639 float discr = b*b - 4*a*c; 640 if (discr > 0) { // This will only be false if the curve is a line. 641 return solve_quadratic_equation_for_midtangent(a, b, c, discr); 833 double discr = 3*D2*D2 - 4*D1*D3; 834 if (discr > 0) { // Serpentine. 836 double q = 3*D2 + copysign(sqrt(3*discr), D2); 840 } else if (discr < 0) { // Loop. 842 double q = D2 + copysign(sqrt(-discr), D [all...] |
/third_party/skia/src/gpu/tessellate/ |
H A D | StrokeHardwareTessellator.cpp | 680 float discr = b*b - 4*a*c; in cubic_has_cusp() local 682 // If -cuspThreshold <= discr <= cuspThreshold, it means the two roots are within a distance of in cubic_has_cusp() 689 return fabsf(discr) <= cuspThreshold && in cubic_has_cusp()
|
/third_party/mesa3d/src/imgui/ |
H A D | imstb_truetype.h | 4243 float discr = b*b - a*c; 4244 if (discr > 0.0) { 4246 float d = (float) STBTT_sqrt(discr);
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imstb_truetype.h | 4243 float discr = b*b - a*c; 4244 if (discr > 0.0) { 4246 float d = (float) STBTT_sqrt(discr);
|
Completed in 17 milliseconds