ArcticLight / JRPNMachine

Java Reverse Polish Notation Machine
2 stars 0 forks source link

Sometimes throws IllegalArgumentException when toggling notation mode #32

Closed hawkw closed 11 years ago

hawkw commented 11 years ago

Large numbers cause this to happen when switching to scientific notation with a large number on the stack.

ERR: Type: java.lang.IllegalArgumentException 
Message: Cannot format given Object as a Number
hawkw commented 11 years ago

Fixed as of https://github.com/ArcticLight/JRPNMachine/commit/22c40a3b321a59b56eb1fa1c918526a227046be1