improve printer

This commit is contained in:
hugogogo
2026-05-13 23:27:50 +02:00
parent b0e6483a68
commit 7978f0d706
8 changed files with 103 additions and 87 deletions

View File

@@ -2,9 +2,10 @@
## todo
- change "compputorv1" to "computor"
- fix error if b is 0 (b takes the value of c instead)
- doing gcd for int values, and not for double values
- double is nearly_equal_0
- if no "=" sign return error
## ressources
@@ -75,8 +76,6 @@ this project uses submodules (maybe recursively), so either :
- delta_sqrt; // √|Δ|
- first_term; // double (-b / 2a)
- second_term; // double (√|Δ| / 2a)
- double solution1; // first_term + second_term || -b / 2a + √|Δ| * i / 2a
- double solution2; // first_term - second_term || -b / 2a - √|Δ| * i / 2a
6. print solution
---