Is there a 128-bit integer in D?

Saurabh Das via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 22 02:39:45 PDT 2016


On Sunday, 22 May 2016 at 09:07:32 UTC, Guillaume Piolat wrote:
> 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

wideint was exactly what I was looking for! Thank you so much :)

Saurabh



More information about the Digitalmars-d-learn mailing list