kt-math icon indicating copy to clipboard operation
kt-math copied to clipboard

Make CommonBigInteger/Decimal public

Open MisterAssm opened this issue 3 years ago • 1 comments

kt-math 0.7.0 cannot be a pure porting of java.math.* BigInteger and BigDecimal, representative classes, are marked as internal, the constructors are then not available to users.

So for example, the sign-magnitude representation of a BigInteger in a BigInteger cannot be called for the creation of a BigInteger (for an RSA Kotlin/JS implementation)

MisterAssm avatar Aug 20 '22 18:08 MisterAssm

@MisterAssm I should have added for factories on the interfaces to address your issue. Is that ok for you?

gciatto avatar May 25 '23 12:05 gciatto