Library for strongly-typed quantity operations