Wanted: 128 bit integers

bearophile bearophileHUGS at lycos.com
Thu Mar 15 08:38:21 PDT 2012


Andrei Alexandrescu:

> 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.

I think library-defined fixed arbitrary-sized integers and 
built-in cent/ucent types are both useful to have. One doesn't 
fully replace the other. cent/ucent is more efficient (even on 32 
bit systems), while FixedInt is more flexible.

But both are low-priority.

Bye,
bearophile


More information about the Digitalmars-d mailing list