Is there a good lib out there to handle large integer of know size ?
Era Scarecrow via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 12 08:41:03 PDT 2017
On Monday, 12 June 2017 at 13:41:36 UTC, deadalnix wrote:
> You misunderstood. We need cent/ucent supported by the compiler
> to get to larger integral types efficiently. There are no ways
> around it. There are a ton of operations such as the X86 MUL
> which are able to produce a large multiplication into 2
> registers. There are no way to leverage these without compiler
> provided cent/ucent.
Agreed. But until larger types are natively avaliable (either by
simulation built into the compiler or by hardware registers) you
gotta work with what you got.
More information about the Digitalmars-d
mailing list