Closed danvim closed 7 years ago
should be partially fixed in commit https://github.com/danvim/ProcalParsing/commit/06b39cc44b7539c3fbf789406e7730aa139e5d9c. The remaining part is (negative number)^(float), in theory all of them should involve complex numbers but for some float (those which are rational with odd denominator) would have a real root, so we will do it the way fx-50FH does it, that we just returns the real root and neglecting the other complex roots.
Should be fixed completely in commit https://github.com/danvim/ProcalParsing/commit/b7f031da9d1c2ba29e175d80812d4e8cf672c850 with the method of dealing float power as above.
What happened
(-1)^(-1)
returns an errorWhat should have happened
(-1)^(-1)
should return-1
What might be the problem
The rjm library.