PDA

View Full Version : Any Suggestions?


David
11-17-01, 07:12 AM
Me being the lazy person that I am, wrote a little proggie in C which can perform synthetic division (maths homework). This can take a polynomial of degrees 2,3 or 4 and divide it by (x-h). If anyone who is a C guru could take alittle look at it, I would be pleased to hear of any improvements that could be made. Here it is: (in .zip form, containing source and a copy of the executable compiled on a Duron 650)

David
11-17-01, 07:14 AM
sorry, forgot to say, it is laid out under linux, so the line breaks may not work.

David
11-24-01, 06:47 AM
Noone else do maths?

Garfield
12-07-01, 08:10 PM
What math are you taking? I don't recognize (or your description isn't great, no offense :) ) that type of "math". I'm pretty darned good at C, so I'll take a look at it later.

How do you want to "make it better"? Speed? Less code? More functions? I'll be glad to help.

--Garfield