josdejong/mathjs

cot reports wrong value for (0, 0)

Open

#1427 aperta il 2 mar 2019

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (1298 fork)batch import
dependencieshelp wanted

Metriche repository

Star
 (13.832 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor