Shopify / measured

Encapsulate measurements and their units in Ruby and Ruby on Rails.
MIT License
337 stars 28 forks source link

Fix skipped tests for precision loss #4

Closed kmcphillips closed 9 years ago

kmcphillips commented 9 years ago

Look at the best way to deal with precision loss with rounding. Possibly pass Rational all the way through if any factor is a rational. Possibly force rounding. Possibly test rounded values to the meaningful number of significant digits.