Need help with units library

Joakim via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 18 17:38:59 PDT 2017


On Friday, 18 August 2017 at 13:21:06 UTC, alexander1974 wrote:
> I want to write a library for working with units (lengths, 
> weights, ...). It should allow maths and converting 
> with/between different units (cm to mm, angstrom to meter, ...).
>
> [...]

I have no opinion on your layout, but have you seen these 
existing libraries on the D package repository?

http://code.dlang.org/packages/units-d
http://code.dlang.org/packages/quantities

Perhaps you'd be better off contributing to one of them.


More information about the Digitalmars-d-learn mailing list