RFC: Units of measurement for D (Phobos?)

"Nordlöw" per.nordlow at gmail.com
Wed Feb 26 14:49:55 PST 2014


On Wednesday, 26 February 2014 at 21:41:57 UTC, Kelet wrote:
> Tangentially related: https://github.com/biozic/quantities

Impressive!

This seems similar to David Nadlingers std.units and std.si.

When will all these efforts on implementing Units/SI be 
synchronized and reviewed?

One question:

I know what angles are but I have never seen them defined like 
this before!

enum radian = meter / meter; // ditto
enum steradian = square(meter) / square(meter); /// ditto

What on earth does this mean?

/Per


More information about the Digitalmars-d mailing list