RFC: Units of measurement for D (Phobos?)

Simen Kjaeraas simen.kjaras at gmail.com
Fri Apr 15 06:06:22 PDT 2011


Oh, and it would appear I have found a bug:

enum foo = metre / 2;
std\units.d(165): Error: cannot raise int to a negative integer power. Did you m
ean (cast(real)rhs)^^-1 ?


More information about the Digitalmars-d mailing list