On Wednesday, 10 August 2022 at 14:11:04 UTC, Ruby The Roobster
wrote:
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
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, whi
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:
On Saturday, 6 August 2022 at 11:25:28 UTC, Dom Disc wrote:
I once did a completely inline implementation of xlcmplx
Sorry, one function is NOT inline:
```C
class xlcmplx
{
uint32 Decimal(char* s, uint32 max) const; // string
representation
}
```
But you should forget about that, because D
On Friday, 5 August 2022 at 14:25:39 UTC, Ruby The Roobster wrote:
I'm currently working on an arbitrarily precise division
algortihm based off of the done-by-hand standard algorithm, but
I need to get it to work for complex numbers, [which it's just
not](https://forum.dlang.org/post/czidpbdyws
On Friday, 5 August 2022 at 14:11:10 UTC, frame wrote:
On Friday, 5 August 2022 at 14:03:36 UTC, Ruby The Roobster
wrote:
Also, what about division and exponentiation. You can't just
forward them to BigInt and get a good result, BigInt will just
round to an integer for these two.
There are
On Friday, 5 August 2022 at 14:03:36 UTC, Ruby The Roobster wrote:
Also, what about division and exponentiation. You can't just
forward them to BigInt and get a good result, BigInt will just
round to an integer for these two.
There are divMod() and powmod() for BigInt but I have no idea how
On Friday, 5 August 2022 at 14:00:32 UTC, frame 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
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?
We have this:
https://code.dlang.org/search?q=de