[Ruby 1.9-Bug#3789][Open] Float('0x...') $B$G$N5sF0$,IT?3(B

Bug #3789: Float(‘0x…’) e$B$G$N5sF0$,IT?3e(B
http://redmine.ruby-lang.org/issues/show/3789

e$B5/I<<Te(B: tadayoshi funaba
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Low
ruby -v: ruby 1.9.3dev (2010-09-04) [i686-linux]

Float() e$B$G;X?t$,Bg$-$$>l9g$K!"Nm$K$J$C$?$j!"L58BBg$K$J$C$?$j$9$k!#e(B

Float(‘0xf.fp1000000000000’) #=> 0.0
Float(‘0xf.fp10000000000000’) #=> Infinity
Float(‘0xf.fp100000000000000’) #=> Infinity
Float(‘0xf.fp1000000000000000’) #=> 0.0

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs