Is there a 128-bit integer in D?

Guillaume Piolat via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 22 02:07:32 PDT 2016


On Sunday, 22 May 2016 at 07:40:08 UTC, Nicholas Wilson wrote:
> On Saturday, 21 May 2016 at 09:43:38 UTC, Saurabh Das wrote:
>> I see that 'cent' and 'ucent' are reserved for future use but 
>> not yet implemented. Does anyone have a working implementation 
>> of these types?
>>
>> Alternatively, is there an any effort towards implementation 
>> of arbitrary-sized integers in Phobos?
>>
>> Thanks,
>> Saurabh
>
> There is a recursive arbitrary sized integer implementation 
> floating around somewhere. Perhaps try dub for some math 
> libraries.

https://github.com/d-gamedev-team/gfm/blob/master/integers/gfm/integers/wideint.d


More information about the Digitalmars-d-learn mailing list