shithub: mc

Download patch

ref: 716c18ec85b68659886408d1f81301bf4e5f43bd
parent: f762f96f07cf2dfc7b3bb745d6a767dccda0a01a
author: S. Gilles <sgilles@math.umd.edu>
date: Tue Jul 31 09:36:55 EDT 2018

Improve accuracy of poly path of atan calculations.

--- a/lib/math/atan-impl.myr
+++ b/lib/math/atan-impl.myr
@@ -396,7 +396,7 @@
 	if u <  0.0625
 		var s = u * u
 		var p = horner_polyu(s, atan_coeffs[:])
-		-> u*p + du
+		-> u*p + u*du
 	;;
 
 	/*