When will you implement cent and ucent?

Walter Bright newshound2 at digitalmars.com
Sat Mar 26 19:30:13 UTC 2022


On 3/25/2022 4:33 PM, Murilo wrote:
> I have been waiting for years now, can't you guys just add these 2 types to the 
> language?

I did some work implementing it as a native type. But after a while I realized 
that it was not appropriate to implement it that way, it should be a library 
type like `complex` is.

The library type hasn't been implemented (anyone is free to do this!), but the 
math part has been:

https://dlang.org/phobos/core_int128.html


More information about the Digitalmars-d mailing list