improve printer
This commit is contained in:
@@ -138,8 +138,6 @@ typedef struct
|
||||
double delta_sqrt; // √|Δ|
|
||||
double first_term; // double (-b / 2a)
|
||||
double second_term; // double (√|Δ| / 2a)
|
||||
double solution1; // || first_term + second_term || first_term + i * second_term
|
||||
double solution2; // (not if DELTA_ZERO) || first_term - second_term || first_term - i * second_term
|
||||
} s_solution_degree_2;
|
||||
|
||||
typedef struct
|
||||
@@ -172,10 +170,15 @@ const char *term_sign_to_str(e_term_sign sign);
|
||||
const char *delta_sign_to_str(e_delta_sign sign);
|
||||
|
||||
/** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* UTILS/PRINTER.C
|
||||
* UTILS/PRINT_DEBUG.C
|
||||
*/
|
||||
|
||||
void print_debug(const char *description, ...);
|
||||
|
||||
/** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* UTILS/PRINTER.C
|
||||
*/
|
||||
|
||||
void print_reduced_form(s_polynom *polynom);
|
||||
void print_degree(s_polynom *polynom, int max_exponent);
|
||||
void print_solution(s_solution *solution);
|
||||
|
||||
Reference in New Issue
Block a user