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 ?