When will you implement cent and ucent?

rikki cattermole rikki at cattermole.co.nz
Fri Apr 1 03:37:48 UTC 2022


On 01/04/2022 9:18 AM, Quirin Schroll wrote:
> At some point, it’s going to be easier to make those types 
> `__traits(signed, 128)`, `__traits(unsigned, 256)`, `__traits(signed, 
> 512)` and so on, plus some `alias ducent = __traits(signed, 256)` in 
> object.d instead of arguing where the right limit is.

This is something I have long since considered.

While dmd may not have been designed for this, it is my belief that this 
is the only way forward for built in types.

As hardware changes over the next hundred years, this will be a major 
win for whoever does it this way.


More information about the Digitalmars-d mailing list