[net.math] Program to compute roots of the cubic polynomial

bet@ecsvax.UUCP (Bennett E. Todd III) (10/15/85)

I decided to look up the closed form to the cubic, which is indeed in
CRC's Standard Math Tables, and implement it. I like C, so I wrote it in
C. I commented the code in some detail explaining what I was doing,
which is just as well. It turns out the C lack of a complex data type
makes this particular application pretty complex, so to speak. You will
find the program with explanatory comments in net.sources. Enjoy.

-Bennett
-- 

"Hypocrisy is the vaseline of social intercourse." (Who said that?)

Bennett Todd -- Duke Computation Center, Durham, NC 27706-7756; (919) 684-3695
UUCP: ...{decvax,seismo,philabs,ihnp4,akgua}!mcnc!ecsvax!duccpc!bet