When will you implement cent and ucent?
Sergey
kornburn at yandex.ru
Sun Mar 27 20:13:25 UTC 2022
On Sunday, 27 March 2022 at 19:05:09 UTC, Murilo wrote:
>
> Thanks for clearing that up, I guess I'll just stick to BigInt
> then. I've used it to make a calculator that turns numbers into
> strings and does the math just like we do it with pen and
> paper, that way I can calculate decimals with perfect
> precision. It is able to do around 30k adds/subtracts per
> seconds, around 25k multiplys per second and around 5.5k
> divides per second with perfect precision of 20 decimal places.
There is no D implementation, but there is a good C library for
POSIT
Some info could be found here: https://posithub.org/
Maybe will be useful for precise calculation
More information about the Digitalmars-d
mailing list