Searched refs:neg2RootQ (Results 1 – 2 of 2) sorted by relevance
463 double neg2RootQ = -2 * sqrt(Q); in RootsReal() local465 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()468 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()472 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()
779 SkScalar neg2RootQ = -2 * SkScalarSqrt(Q); in solve_cubic_poly() local781 r = neg2RootQ * SkScalarCos(theta/3) - adiv3; in solve_cubic_poly()785 r = neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()789 r = neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()