![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: solve cubic equationsby no_slogan (Deacon) |
on May 03, 2017 at 13:43 UTC ( #1189398=note: print w/replies, xml ) | Need Help?? |
Quite so. If you want the complex roots, use $t multiplied by the three cube roots of unity (1 and -1/2 ± i*sqrt(3)/2) in the first if branch.
In Section
Cool Uses for Perl
|
|