AngouriMath
Arctan(PeterO.Numbers.EDecimal,PeterO.Numbers.EContext)
Method (no overloads)
Summary
Analogy of Atan(System.Double)
Remarks
Reduced to [0, 1] by arctan(x) = pi/2 - arctan(1/x) , then to within
1/128 of zero by the nearestc = j/64 -- arctan x = arctan c +
arctan((x - c)/(1 + xc)) , with arctan c from the constant cache -- where
the seriesy - y^3/3 + y^5/5 - ... is thirty terms at a hundred digits, each
a multiplication and a division by a small integer. It was halved to a twentieth
byarctan(x) = 2 arctan(x/(1 + sqrt(1 + x^2))) , three square roots and
forty-seven terms; before that the arcsine ofx/sqrt(1 + x^2) , two
milliseconds at a hundred digits for an argument of a third.
https://github.com/asc-community/AngouriMath/issues/1338
1/128 of zero by the nearest
arctan((x - c)/(1 + xc))
the series
a multiplication and a division by a small integer. It was halved to a twentieth
by
forty-seven terms; before that the arcsine of
milliseconds at a hundred digits for an argument of a third.
https://github.com/asc-community/AngouriMath/issues/1338
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4405 pages online