4 ms·
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?Numeri
by murkle 8y ago
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?NumericallyStableSolutionForTheQuadraticEquation http://www.solipsys.co.uk/cgi-bin/sews.py?NumericallyStableS...