scijs / poly-roots

Find all roots of a polynomial using the Jenkins-Traub method
18 stars 1 forks source link

Figure out if there's actually a problematic loss of precision going on #1

Closed rreusser closed 9 years ago

rreusser commented 9 years ago

See tests. A number of them don't reach anything close to machine epsilon. Is this because I was sloppy with the division and modulus?

rreusser commented 9 years ago

Had a bug in my convergence criteria. Missed paren. I get what I deserve for being sloppy.

rreusser commented 9 years ago

Based on testing, it appears to be functioning pretty well. This was the error I kinda thought existed. Still need to revisit epsilons though.