Closed brianmickel closed 3 years ago
Refactor control flow logic of sources/roots.ts into file-level functions and helpers.
sources/roots.ts
mini_solve
mini_solve + _solveDegree1 ... _solveDegree4
fold all
risk: medium (passes existing tests, but roots.ts is a tricky file) merge: squash intended
roots.ts
I'm happy to adjust the coding style to better match the codebase and contributing.md.
Refactor control flow logic of
sources/roots.ts
into file-level functions and helpers.mini_solve
intomini_solve + _solveDegree1 ... _solveDegree4
based on the number of coefficients of the polynomialfold all
feature)risk: medium (passes existing tests, but
roots.ts
is a tricky file) merge: squash intended