#include "equation-solver.h" #define _USE_MATH_DEFINES #include <cmath> namespace msdfgen { int solveQuadratic(double x[2], double a, double b, double c) { … } static int solveCubicNormed(double x[3], double a, double b, double c) { … } int solveCubic(double x[3], double a, double b, double c, double d) { … } }