ionspin / kotlin-multiplatform-bignum

A Kotlin multiplatform library for arbitrary precision arithmetics
Apache License 2.0
345 stars 41 forks source link

Conversion from java.math #250

Open Gaming32 opened 1 year ago

Gaming32 commented 1 year ago

Is your feature request related to a problem? Please describe. I am unable to obtain a com.ionspin.kotlin.bignum.integer.BigInteger from a java.math.BigInteger.

Describe the solution you'd like An extension method on java.math.BigInteger to perform the conversion.

Describe alternatives you've considered Implementing it myself on each project.