ionspin / kotlin-multiplatform-bignum

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

Fix convertion to primitive when big integer is negative. #110

Closed ionspin closed 4 years ago

ionspin commented 4 years ago

The conversion was disregarding the sign of the big integer. The issue was reported by Omar Alejandro Mainegra Sarduy on Gitter