cot reports wrong value for (0, 0)
Open
dependencies
help wanted
- Dominant language
- JavaScript
- Stars
- 15.1k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 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.
Contributor guide
Assessment
This issue has not been assessed yet.