josdejong/mathjs

cot reports wrong value for (0, 0)

開放

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

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (1,314 個分叉)batch import
dependencieshelp wanted

倉庫指標

星標
 (15,065 顆星)
PR 合併指標
 (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.

貢獻者指南