[ruby-core:115365] [Ruby master Bug#8299] Minor error in float parsing