java.lang.ArithmeticException: Cannot power negative -1.000000000000000


Solutions on the web

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

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.