Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
BigDecimal/float difference between MRI and JRuby #5904
In MRI the following comparison returns false:
This is probably because there is no exact floating point representation for the number 8.03 (as opposed to e.g. 8.02 and 8.04, for which the similar comparison returns
This is not a problem for me, except that it was surprising that a spec passed in JRuby that I expected to fail.