RFC: Units of measurement for D (Phobos?)
HaraldZealot via Digitalmars-d
digitalmars-d at puremagic.com
Wed Sep 9 08:21:19 PDT 2015
On Tuesday, 12 April 2011 at 16:44:10 UTC, David Nadlinger wrote:
> Recently, I have been playing around with a little units of
> measurement system in D. As this topic has already been brought
> up quite a number of times here, I thought I would put my
> implementation up for discussion here.
>
> ...
>
> Anyway, here is a link to the code:
> https://github.com/klickverbot/phobos/tree/units (std/units.d
> and std/si.d). Also, I put up a build of the DDoc output at
> http://klickverbot.at/code/units/std_units.html resp.
> http://klickverbot.at/code/units/std_si.html.
>
> ...
>
> David
One big problem is, that in SI base unit for mass is kilogram not
gram.
More information about the Digitalmars-d
mailing list