Tuesday, March 22, 2016

[ddebkqem] Efficient arctangent

Given a rational number, compute its arctangent in the most efficient way possible, to arbitrary given precision.  For example, atan 1 by the standard Taylor expansion is not the most efficient way to compute pi/4; Machin's formula is better.

No comments :