josdejong/mathjs

cot reports wrong value for (0, 0)

Open

#1.427 aberto em 2 de mar. de 2019

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (1.298 forks)batch import
dependencieshelp wanted

Métricas do repositório

Stars
 (13.832 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador