RFC: Units of measurement for D (Phobos?)

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 10 01:19:06 PDT 2015


On Wednesday, 9 September 2015 at 15:21:22 UTC, HaraldZealot 
wrote:
> One big problem is, that in SI base unit for mass is kilogram 
> not gram.

This is definitely not a "big problem". There is nothing that 
sets apart the "base" units in my old library from any other 
units, except for the fact that they happen to be defined using 
baseUnit!(), not by adding a prefix. Kilogram just happens to be 
defined as kilo!gram so that you don't get things like 
millikilogram.

  — David


More information about the Digitalmars-d mailing list