#include "config.h"
#include <math.h>
#include "solvers.h"
Go to the source code of this file.
|
#define | cbrt(x) ((x < 0) ? (-1*pow(-x, 1.0/3.0)) : pow (x, 1.0/3.0)) |
|
#define | M_PI 3.14159265358979323846 |
|
#define | EPS 1E-7 |
|
#define | AEQ0(x) (((x) < EPS) && ((x) > -EPS)) |
|
#define AEQ0 |
( |
|
x | ) |
(((x) < EPS) && ((x) > -EPS)) |
#define cbrt |
( |
|
x | ) |
((x < 0) ? (-1*pow(-x, 1.0/3.0)) : pow (x, 1.0/3.0)) |
#define M_PI 3.14159265358979323846 |
int solve1 |
( |
double * |
coeff, |
|
|
double * |
roots |
|
) |
| |
int solve2 |
( |
double * |
coeff, |
|
|
double * |
roots |
|
) |
| |
int solve3 |
( |
double * |
coeff, |
|
|
double * |
roots |
|
) |
| |