Hello, I'm from the team who develops ubuntu-calculator-app for the Ubuntu Phone.
I've encountered a bug with the imaginary unit with your library. If you try to calculate the power of i (i^2) the returned value is not -1, while the definition of i states that _i_² = -1, mathjs returns -1 + 1.2246467991474e-16i.
The issue is also reproduced in this pad http://jsbin.com/fotuxuzuvo/1/edit?html,output
Thanks a lot for your support!
Giulio
Hello, I'm from the team who develops ubuntu-calculator-app for the Ubuntu Phone.
I've encountered a bug with the imaginary unit with your library. If you try to calculate the power of i (i^2) the returned value is not -1, while the definition of i states that _i_² = -1, mathjs returns
-1 + 1.2246467991474e-16i.The issue is also reproduced in this pad http://jsbin.com/fotuxuzuvo/1/edit?html,output
Thanks a lot for your support!
Giulio