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.

贡献者指南