Wanted: 128 bit integers

Paul D. Anderson paul.d.removethis.anderson at comcast.andthis.net
Thu Mar 15 10:07:18 PDT 2012


On Thursday, 15 March 2012 at 15:39:47 UTC, Daniel Murphy wrote:
> "Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> wrote in 
> message
> news:jjt1lh$pfb$1 at digitalmars.com...
>>
>> My suggestion is to focus on fixed arbitrary-sized integers in 
>> Phobos, and then add optimizations for 64-bit integers on 
>> architectures that support it.
>>
>> Andrei
>>
>>
>
> Yeah.  A lot of the BigInt code can probably be adapted, if 
> someone wants to
> give it a go.

I was really only checking to see if anyone had already 
implemented 128-bit integers. It seems like the answer is no, but 
Daniel may have some code.

It looks like the quickest solution is for me to do it myself. 
I'll let you all know when it's ready.

Paul


More information about the Digitalmars-d mailing list