FractionSym.pow(int exponent) with negative exponent throws exception

Issue #107 resolved
Former user created an issue

I recently run into problems with easy fractions. Typing (2/3)^(-2) leads to a crash in my version, but the symja webinterface seems to handle it correctly. There are dozens of ways, to calculate this correctly, but throwing an exception is really a bad idea.

I'm not sure in how far the calculation of the above term uses this pow-function or not in the current version. But when it does, it crashes.

https://bitbucket.org/axelclk/symja_android_library/src/602e174913b76e6c54e9527b97b2738819520d39/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/expression/FractionSym.java?at=master&fileviewer=file-view-default

Comments (1)

  1. Log in to comment