Searched refs:adiv3 (Results 1 – 2 of 2) sorted by relevance
418 double adiv3 = a / 3; in RootsReal() local425 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()428 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()432 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()446 r = A - adiv3; in RootsReal()449 r = -A / 2 - adiv3; in RootsReal()
740 SkScalar adiv3 = a / 3; in solve_cubic_poly() local749 r = neg2RootQ * SkScalarCos(theta/3) - adiv3; in solve_cubic_poly()753 r = neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()757 r = neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()778 r = A - adiv3; in solve_cubic_poly()