thoughtbot/shoulda-matchers — pull request #433 by untidy-hair (2014-01-24 05:09:57+00:00)
Title: Update numericality comarison matcher more accurate

Hello.

This PR is expected to fix #419.
I was debating which difference value to use, and adopted 12 digit decimal value which is safe (considering IEEE 754) and pragmatic enough.
(I think this will cover more than 99.9% cases, but if we want 100% accuracy we might need another total different approach.)

Thanks!