Arbitrary precision decimal numbers

Ruby The Roobster rubytheroobster at yandex.com
Wed Aug 10 14:11:04 UTC 2022


On Saturday, 6 August 2022 at 13:20:19 UTC, Sergey wrote:
> On Thursday, 4 August 2022 at 13:01:30 UTC, Ruby The Roobster 
> wrote:
>> Is there any implementation in phobos of something similar to 
>> BigInt but for non-integers as well?  If there isn't is there 
>> a dub package that does this, and if so, which one?
>
> Also you could find usefull such projects:
>
> http://mir-algorithm.libmir.org/mir_bignum_decimal.html
>
> https://github.com/huntlabs/hunt-extra/blob/2d286f939193fc0cd55c799906f7657cec502dc8/source/hunt/math/BigDecimal.d

It doesn't provide for arithmetic operations though, according to 
the docs.


More information about the Digitalmars-d-learn mailing list