josdejong/mathjs

cot reports wrong value for (0, 0)

Open

#1,427 建立於 2019年3月2日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (1,298 fork)batch import
dependencieshelp wanted

倉庫指標

Star
 (13,832 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

b = math.complex(0,0) then b.cot() reports (NaN, NaN) as compared to Mathematica's ComplexInfinity. Not that the correct answere is always useful, but it (the NaN answer) did cause a problem in testing extended precision complex functions.

貢獻者指南