ArcticLight / JRPNMachine

Java Reverse Polish Notation Machine
2 stars 0 forks source link

Support for square roots #24

Closed hawkw closed 11 years ago

hawkw commented 11 years ago

As requested in the Beta 3 spec, we need to support more advanced calculations such as sqrts.

ArcticLight commented 11 years ago

Most likely wontfix, right? Since BigDecimal doesn't support this operation (and we're using BigDecimal for precision) ...?

hawkw commented 11 years ago

Right. Maybe it could be implemented as a low-precision-only operation, but I feel like it has limited functionality at this point. Could be added in a future branch (esp. if we write a custom arbitrary-precision implementation).