NAG Library Manual, Mark 30
Interfaces:  FL   CL   CPP   AD 

NAG CL Interface Introduction
Example description

nag_zeros_cubic_real (c02akc) Example Program Results


 Roots of cubic equation             Error estimates
                                   (machine-dependent)

 z =    1.00000    0.00000*i         2.37689e-15
 z =   -2.00000    3.00000*i         3.08488e-15
 z =   -2.00000   -3.00000*i         3.08488e-15