Coder-Spirit/php-bignumbers

Add `forceAsRational` parameter to the pow method

Opened this issue · 0 comments

It would be very useful to determine if we are working with real number approximations or if we explicitly know that we're working with rational numbers when we apply the pow method to a negative number, because the outcome can vary from undefined to a defined value depending on this.

I think fixing #27 before trying to fix the issue will help in this task.