java.lang.ArithmeticException

Cannot power negative -1.000000000000000


Solutions on the web10

Solution icon of github
via GitHub by danvim
, 7 months ago
Cannot power negative -1.000000000000000

Solution icon of oraclecommunity
via Oracle Community by 122859, 8 months ago
Negative scale

Solution icon of stackoverflow
Negative exponent

Solution icon of github
via GitHub by FrEaKmAn
, 1 year ago
Value cannot fit in an int: 2682000000

Solution icon of github
Value cannot fit in an int: 3184683735

Solution icon of github
Value cannot fit in an int: 63520133487

Solution icon of youtrack
via YouTrack by Unknown author, 1 year ago
Value cannot fit in an int: 21726031231975

Solution icon of github
Value cannot fit in an int: 63634551487

Solution icon of github
Value cannot fit in an int: 55615500677

Solution icon of stackoverflow
Value cannot fit in an int: 3584908800

Stack trace

  • java.lang.ArithmeticException: Cannot power negative -1.000000000000000 at org.nevec.rjm.BigDecimalMath.pow(BigDecimalMath.java:767) at fx50.nodes.PowerNode.evaluate(PowerNode.java:20) at fx50.nodes.StatementNode.evaluate(StatementNode.java:29) at fx50.Main$Run.run(Main.java:118) at fx50.Main$Run.run(Main.java:127) at fx50.Main$Run.run(Main.java:127) at fx50.Main.main(Main.java:29)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.