Actions
Bug #3789
closedFloat('0x...') での挙動が不審
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-09-04) [i686-linux]
Backport:
Description
=begin
Float() で指数が大きい場合に、零になったり、無限大になったりする。
Float('0xf.fp1000000000000') #=> 0.0
Float('0xf.fp10000000000000') #=> Infinity
Float('0xf.fp100000000000000') #=> Infinity
Float('0xf.fp1000000000000000') #=> 0.0
=end
Actions
Like0
Like0