[][src]Function kurbo::common::solve_quadratic

pub fn solve_quadratic(c0: f64, c1: f64, c2: f64) -> ArrayVec<[f64; 2]>

Find real roots of quadratic equation.

Returns values of x for which c0 + c1 x + c2 x² = 0.