Please contribute if you are good in big numbers ...
# kotlin-native
k
Please contribute if you are good in big numbers https://github.com/kavanmevada/kotlin-native-bignum
r
Haven’t looked closely at the implementation of either one, but https://github.com/ionspin/kotlin-multiplatform-bignum is trying to do something similar. Might be a good place to look either for inspiration or to combine efforts.
k
Damn good. He implemented lot from bignumber. But thing I needed powMod still not implemented in it.
a
just make sure to publish your Gradle metadata with iosX64 🙂 . He did not
k
powMod is really really complex.. in openssl it uses multiple algorithms for odd and even modulo. And those more complex it self.
I might give up here
u
Hey @Kavan if you are referring to exponentiation in modular integers
ModularBigInteger.pow()
should be working.