Searched refs:adiv3 (Results 1 – 2 of 2) sorted by relevance
464 double adiv3 = a / 3; in RootsReal() local472 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()475 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()479 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()493 r = A - adiv3; in RootsReal()496 r = -A / 2 - adiv3; in RootsReal()
704 SkScalar adiv3 = a / 3; in solve_cubic_poly() local714 r = neg2RootQ * SkScalarCos(theta/3) - adiv3; in solve_cubic_poly()718 r = neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()722 r = neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()743 r = A - adiv3; in solve_cubic_poly()