Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

Latest commit

 

History

History
27 lines (19 loc) · 552 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 552 Bytes

BigInt

Kotlin Multiplatform implementation of arbitrary-precision integers. For use in cross-platform applications without the need of expect/actual declarations.

Maven Dependency

Coming Soon

Usage

Extension functions are provided for easy conversion.

// From Int
1234567.toBigInteger()
// From Long
123456789012345678L.toBigInteger()
// From String
"123456789012345678901234567890".toBigInteger()

TODOs

  • Improve performance, especially of String.toBigInteger()
  • Support pow, exp, log, and other operations