Project

General

Profile

Actions

Bug #3790

closed

Float('0x') がエラーにならない

Added by tadf (tadayoshi funaba) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-09-04) [i686-linux]
Backport:

Description

=begin
Float('0x') がエラーにならない。

Integer('0x') # ArgumentError: invalid value for Integer(): "0x"
Float('0x') #=> 0.0
=end

Actions #1

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 r29187.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0