kotlin-multiplatform-bignum v0.1.0 Release Notes

Release Date: 2019-07-31 // over 4 years ago
    • ➕ Added toByteArray and fromByteArray.
    • ➕ Added toFloat and toDouble to BigInteger and ModularBigInteger classes.
    • ➕ Added BigInteger creation from Float and Double by using tryFromFloat and tryFromDouble, with optional exact parameter to preserve precision.
    • ➕ Added BigInteger comparison with Float and Double.
    • ➕ Added BigDecimal configuration option to switch to expanded representation instead of scientific when calling toString().
    • 👌 Improved ModularBigInteger exponentiation algorithm, based on Bruce Schneier Applied Cryptography pesudocode.