Bug #14731 closed
Related to Bug #14729 : Float("long_invalid_string") fails to throw an exception added
Status changed from Open to Closed
Applied in changeset trunk|r63322.
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 ]
Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE
ruby_2_5 r66879 merged revision(s) 63322.
Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE to 2.3: REQUIRED, 2.4: DONE, 2.5: DONE
Also available in: Atom
PDF
Like 0
Like 0 Like 0 Like 0 Like 0