Skip to content

.SolveCubic()

Alex edited this page Aug 20, 2020 · 1 revision

.SolveCubic(): u8

  • Private
  • Exposed mainly for tests. Normally you don't need to use it directly.
  • Returns amount of root solutions in ax^3 + b*x^2 + c*x + d
  • Gets input from input buffer. Any solutions found, outputs to output buffer.

Input Buffer

Index Value
0 a
1 b
2 c
3 d

Output Buffer

Index Value
0 solution 1
1 solution 2
2 solution 3