[ruby-cvs:70412] nobu:r63322 (trunk): object.c: fix exponent with underscore

nobu at ruby-lang.org nobu at ruby-lang.org
Wed May 2 22:37:18 JST 2018


nobu	2018-05-02 22:37:18 +0900 (Wed, 02 May 2018)

  New Revision: 63322

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63322

  Log:
    object.c: fix exponent with underscore
    
    * object.c (rb_cstr_to_dbl_raise): do not ignore exponent part
      when the input string longer than internal buffer contains
      underscore(s).  [ruby-core:86836] [Bug #14731]

  Modified files:
    trunk/object.c
    trunk/test/ruby/test_float.rb


More information about the ruby-cvs mailing list