Lines Matching refs:c
72 SolveEquation2(f32* root, /*f32 a==1,*/ f32 b, f32 c) in SolveEquation2() argument
76 if( c < -EPS ) // c < 0 in SolveEquation2()
78 f32 r_c = FSqrt(-c); in SolveEquation2()
83 else if( c <= EPS ) // c == 0 in SolveEquation2()
96 f32 B = c / spow<2>(A); in SolveEquation2()
134 SolveEquation3(/*f32* root, f32 a==1,*/ f32 b, f32 c, f32 d) in SolveEquation3() argument
136 f32 q = (spow<2>(b) - 3 * c) / 9; in SolveEquation3()
137 f32 r = (2 * spow<3>(b) - 9 * b * c + 27 * d) / 54; in SolveEquation3()
186 SolveEquation2(f32* root, f32 a, f32 b, f32 c) in SolveEquation2() argument
207 f32 B = c / (a * A * A); in SolveEquation2()
234 f32 c_a = - c / a; in SolveEquation2()
272 SolveEquation3(f32* root, f32 a, f32 b, f32 c, f32 d) in SolveEquation3() argument
279 c /= a; in SolveEquation3()
283 f32 q = (spow<2>(b) - 3 * c) / 9; in SolveEquation3()
284 f32 r = (2 * spow<3>(b) - 9 * b * c + 27 * d) / 54; in SolveEquation3()
340 SolveEquation4(f32* root, f32 a, f32 b, f32 c, f32 d, f32 e) in SolveEquation4() argument
349 c /= a; in SolveEquation4()
360 f32 p = - 3.f * spow<2>(b) / 8 + c; in SolveEquation4()
361 f32 q = spow<3>(b) / 8 - b * c / 2 + d; in SolveEquation4()
362 f32 r = - 3.f * spow<4>(b) / 256 + spow<2>(b) * c / 16 - b * d / 4 + e; in SolveEquation4()