From: nobu@... Date: 2018-05-02T13:32:30+00:00 Subject: [ruby-core:86836] [Ruby trunk Bug#14731] Float() ignores exponent in long string Issue #14731 has been reported by nobu (Nobuyoshi Nakada). ---------------------------------------- Bug #14731: Float() ignores exponent in long string https://bugs.ruby-lang.org/issues/14731 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED ---------------------------------------- Related to #14729: ```ruby Float("1."+"00000"*Float::DIG+"0e10") #=> 10000000000.0 Float("1."+"00000"*Float::DIG+"_0e10") #=> 1.0 ``` -- https://bugs.ruby-lang.org/ Unsubscribe: