wip output and solution

This commit is contained in:
hugogogo
2026-05-10 21:46:37 +02:00
parent 500b6fd932
commit 6d2e7922bc
6 changed files with 94 additions and 61 deletions

View File

@@ -136,7 +136,8 @@ typedef struct
double b; // b in "ax² + bx + c"
double c; // c in "ax² + bx + c"
e_delta_sign delta_sign; // DELTA_PLUS or DELTA_MINUS or DELTA_ZERO
double delta_absolute; // |Δ| == |b² - 4ac|
double delta; // Δ == b² - 4ac
double delta_absolute; // |Δ|
double delta_sqrt; // √|Δ|
//
int first_term_gcd; // gcd(b, 2a)