You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The underlying math library in calculator++ correctly returns complex numbers for $\ln(x)$, where $x<0$. For example,
$$\ln(-5) = \ln(5) + \pi i$$
However, the graphing part ignores complex numbers and so the graph is displayed as symmetric, $\ln(-x) = \ln(x)$, which is incorrect.
While this could be fixed by resolving issue #210, a simpler solution is to treat all numbers where the complex part is not zero as undefined, which is the traditional way logarithms were handled mathematically.
The text was updated successfully, but these errors were encountered:
The underlying math library in calculator++ correctly returns complex numbers for$\ln(x)$ , where $x<0$ . For example,
However, the graphing part ignores complex numbers and so the graph is displayed as symmetric,$\ln(-x) = \ln(x)$ , which is incorrect.
While this could be fixed by resolving issue #210, a simpler solution is to treat all numbers where the complex part is not zero as undefined, which is the traditional way logarithms were handled mathematically.
The text was updated successfully, but these errors were encountered: