#521: Float problem with 8.1 and 9.1 ------------------------------------+--------------------------------------- Reporter: macr...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- MacRuby 0.5b2 seems to have a problem with the floats 8.1 and 9.1. Here is what 'macirb' does:
irb(main):005:0> 9.1 => 9.09999999999999 irb(main):006:0> 8.1 => 8.09999999999999 I get the same results from 'macruby'. The strange thing is that if I do the following: irb(main):007:0> 9.1 + 1 => 10.1 irb(main):008:0> 10.0 - 0.9 => 9.09999999999999 very strange - AYAL -- Ticket URL: <http://www.macruby.org/trac/ticket/521> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel