kotlin-multiplatform-bignum icon indicating copy to clipboard operation
kotlin-multiplatform-bignum copied to clipboard

A Kotlin multiplatform library for arbitrary precision arithmetics

Results 35 kotlin-multiplatform-bignum issues
Sort by recently updated
recently updated
newest added

**Describe the bug** No problem with the returned value, but the cost of using `exactRequired = true` is order of magnitude more costly than using `exactRequired = false`. **To Reproduce**...

Also I removed old code for development

**Is your feature request related to a problem? Please describe.** The java.math.BigDecimal class has a stripTrailingZeros() method that would be nice to have in this implementation. **Describe the solution you'd...

enhancement

**Is your feature request related to a problem? Please describe.** The java.math.BigDecimal class has a modPow() method, which I hope can be used in this implementation.

enhancement

When performing a simple division `2/3` with `RoundingMode.ROUND_HALF_AWAY_FROM_ZERO` and a scale of 2, I expect the result to be `0.67`. However, I get `0.66` instead. **Steps to Reproduce** ```kotlin BigDecimal.fromInt(2)...