Searched refs:neg2RootQ (Results 1 – 6 of 6) sorted by relevance
131 double neg2RootQ = -2 * sqrt(Q); in cubicRootsValidT()133 r = neg2RootQ * cos(theta / 3) - adiv3; in cubicRootsValidT()137 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in cubicRootsValidT()141 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in cubicRootsValidT()241 double neg2RootQ = -2 * sqrt(Q); in cubicRootsReal() local243 r = neg2RootQ * cos(theta / 3) - adiv3; in cubicRootsReal()246 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in cubicRootsReal()250 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in cubicRootsReal()
258 double neg2RootQ = -2 * sqrt(Q); in RootsReal() local260 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()263 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()267 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()
764 SkScalar neg2RootQ = -2 * SkScalarSqrt(Q); in solve_cubic_poly() local766 r = neg2RootQ * SkScalarCos(theta/3) - adiv3; in solve_cubic_poly()770 r = neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()774 r = neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()