-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix exponentiation by large negative Ints...
and speedup exponentiation by any sized negative Ints. The fix is to revert the incorrect underflow check added in 6f6fd1f and the speedup comes from bypassing `&infix:</>` when creating the `1 / $power` Rational since we have some knowledge about the values. Also switch to use `.Failure` on the exceptions for smaller bytecode (though `&infix:<**>` is still too large to inline).
- Loading branch information
1 parent
51c00fd
commit c66c98f
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters