MagLev/maglev — Issue #93: Kernel#Float() unable to parse string literal for zero
Author: riffraff
Created: 2011-11-01 14:55:22+00:00
State: open

In ruby 1.8.7 and 1.9.2 this

Float("0.000000000")

and

Float("0.0")

return `0.0`but on maglev-head on OSX snow leopard I get a

ArgumentError: invalid value for Float(): "0.0"
from (irb):2:in `__compileEval'

ruby -v: maglev 1.0.0 (ruby 1.8.7) (2011-10-31 rev 1.0.0-27184)[Darwin x86_64]
uname -a: 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
machine: macbook pro