kotlin-multiplatform-bignum v0.0.9 Release Notes

Release Date: 2019-05-11 // almost 5 years ago
    • โž• Added modular integers - ModularBigInteger
    • โž• Added modInverse method to BigInteger
    • ๐Ÿ‘ Extracted interfaces that model big numbers better (BigNumber interface and accompanying interfaces)
    • Implemented integer reciprocal based on newton iteration (Based on paper by Yiping Cheng, Ze Lie : Refinement of a newton reciprocal algorithm for arbitrary precision numbers)
    • โšก๏ธ Implemented division by reciprocal multiplication. Not used by division at the moment as it is unoptimized and slower than basecase division in early benchmarks.
    • ๐Ÿ›  Fixed a bug in Int32 shift right when shift amount was an exact multiple of word size
    • โž• Added constructor overloads
    • โž• Added value methods (intValue, longValue...)
    • ๐Ÿ“‡ Renamed invPrecise() bigInteger method to not()
    • ๐Ÿ“‡ Renamed numberOfDigits() to numberOfDecimalDigits()
    • Introduced BigNumber and BitwiseOperations interfaces
    • โž• Added iOS ARM 32bit support

    Also added missing methods to BigInteger, so BigDecimal and BigInteger are mostly on par with their Java counterpart, in regards to functionality.