Hacker News new | past | comments | ask | show | jobs | submit login

Numerical Recipes says to find q=-1/2[b+sgn(b)sqrt(b^2-4ac)] and then find x1=q/a and x2=c/q - is that better?

http://www.solipsys.co.uk/cgi-bin/sews.py?NumericallyStableS...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: