improve printer
This commit is contained in:
@@ -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
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user