PhiNM

Results 5 comments of PhiNM

I haven't checked the logic thoroughly, but there is a simple way to fix your crash by using the BigDecimal(\_:String) constructor or adjusting the precision of the BigDecimal(\_:Double) initializer. Code...

Have you fixed the above problem yet? I just took a look at the log10 calculation algorithm. And it seems like this algorithm in Java/Kotlin: [java:big-math](https://github.com/eobermuhlner/big-math/blob/b659e2f6f3f79a64d6d587c0876dac5e06870012/ch.obermuhlner.math.big/src/main/java/ch/obermuhlner/math/big/BigDecimalMath.java#L1012) I see the problem:...

Fixed : https://github.com/mgriebling/BigDecimal/pull/3/commits/adbf2e615edcfaea50b6d9bb9305438059c9187a

> Can you add a pull request to merge with the original code? > Fixed : [adbf2e6](https://github.com/mgriebling/BigDecimal/commit/adbf2e615edcfaea50b6d9bb9305438059c9187a) I included that commit in a pull request, and you merged it.

Ubuntu 24.04 - Swift 6.0.1 : Here are all the initializers shown in Foundation.Decimal (at file : _FoundationEssentials.swiftinterface_) : ``` @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *) public...