Skip to content

Conversation

nathanfallet
Copy link
Contributor

Adding a way to exponentiate a BInt with a BInt exponent (instead of a Int exponent).
Int exponent is still supported.

@twodayslate
Copy link
Collaborator

Could you duplicate the test cases for regular Int exponents?

I think the only test we have is
https://github.com/mkrd/Swift-BigInt/blob/master/Tests/Test_Basic_Math.swift#L250

@nathanfallet
Copy link
Contributor Author

@twodayslate If the test passes for Int, it passes for both, as Int are now converted to BInt to do exponentiation.

@twodayslate twodayslate merged commit fc3c489 into mkrd:master Aug 27, 2021
@nathanfallet nathanfallet deleted the exponentBInt branch August 27, 2021 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants