RFC: Units of measurement for D (Phobos?)

D.Enguiyen via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 15 07:50:42 PDT 2016


On Tuesday, 15 March 2016 at 14:46:30 UTC, D.Enguiyen wrote:
> Is it able to manage quantities with a non-linear 
> transformations, for example when dealing with octet and byte ?
>
> (1024)!"byte" == 1!"kbyte";

1!"byte" * 1024 == 1!"kbyte";



More information about the Digitalmars-d mailing list