RFC: Units of measurement for D (Phobos?)
via Digitalmars-d
digitalmars-d at puremagic.com
Wed Sep 9 00:04:04 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.
I would like to move forward with std.experimental.unit(s).
A question that needs to be decided on Before starting this is:
- David's library and quantities use different interal
representation. Davids 7-dimensional vector of rational integers
(a la Boost) is hardcoded to represent SI units. biozic's is not
and uses a tuple of strings and is therefore more flexible. Which
direction should we choose?
More information about the Digitalmars-d
mailing list