Cent/ucent why should we implement?

Richard Andrew Cattermole (Rikki) richard at cattermole.co.nz
Fri Aug 14 16:27:50 UTC 2026


Another monthly meeting has occurred, this time one of the things 
I presented was for my PR to implement cent/ucent.

The reception was not the warmest, with questioning on why to do 
it.

Does anyone have reasons for they may want it in language?

Mine:

- Some basic arithmetic can only be described using double the 
word-size type, like with overflow, without using intrinsics.
- Atomics use it for cas
- SIMD types go above word-size.

Has anyone got any other reasons?

https://github.com/dlang/dmd/pull/23575


More information about the Digitalmars-d mailing list