AngouriMath

Try it live

Navigation

← Back to list of members

Cot​(PeterO.​Numbers.​EDecimal,​PeterO.​Numbers.​EDecimal,​PeterO.​Numbers.​EContext)

 Method (no overloads)

Summary

cot(x + i y) = (sin x cos x - i sinh y cosh y)/(sin^2 x + sinh^2 y), which is
(sin 2x - i sinh 2y)/(cosh 2y - cos 2x) without the subtraction: near a pole that one is 0 to the
working digits, and polygamma(0, -3 + 10^(-60) i), about 10^60 i, was NaN.

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6091 pages online