josdejong/mathjs

cot reports wrong value for (0, 0)

Aberta

#1.427 aberto em 2 de mar. de 2019

 (2 comentários) (0 reação) (0 responsável)JavaScript (1.314 forks)batch import
dependencieshelp wanted

Métricas do repositório

Stars
 (15.065 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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