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
Updated by naruse (Yui NARUSE) over 13 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r29186.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0