From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_PASS,T_DKIM_INVALID, T_RP_MATCHES_RCVD shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 230561F407 for ; Wed, 13 Dec 2017 15:26:48 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 922F7120A62; Thu, 14 Dec 2017 00:26:46 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 7F3C8120A5B for ; Thu, 14 Dec 2017 00:26:44 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=q0q9ghbEywerkbBendeGyX9jbhc=; b=AzX84z7S39zfqVk5pK /2UrOzp5L3cpy2kA2TXKnYpWMlqDcdiJ7V5PbU+lORTupPWKyLc+594V0GHAr6yu Ag86sLSYp51WsTNCax1GAMJNzgN0IsyOhR64nHoMOpPfRuvgGm7ASc/S0/vOfAx8 NzTNmxge/CaeELo60xgXgdHx8= Received: by filter0015p3las1.sendgrid.net with SMTP id filter0015p3las1-6874-5A3146B1-C 2017-12-13 15:26:41.223903945 +0000 UTC Received: from herokuapp.com (ec2-54-160-154-11.compute-1.amazonaws.com [54.160.154.11]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id 4f_-P_AtS9CxgvSdRv-eVg Wed, 13 Dec 2017 15:26:41.060 +0000 (UTC) Date: Wed, 13 Dec 2017 15:26:41 +0000 (UTC) From: muraken@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 59386 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 13848 X-Redmine-Issue-Author: ddoherty03 X-Redmine-Issue-Assignee: mrkn X-Redmine-Sender: mrkn X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS6scchmHw9bbjuK99Z0GHtWi8N6Ep/4xIcn+d ai2/tRqep99J1IsgeK1+OpnxZZiB5lEfp+M23GZNrydcwWoJYDIgHodiw4f12Lk7hqpwm5u7N0RcL9 XM2L2qlcr02B31gP9gBleVOPg3KqxtsHdBdl X-ML-Name: ruby-core X-Mail-Count: 84237 Subject: [ruby-core:84237] [Ruby trunk Bug#13848][Assigned] BigDecimal.new('200.') raises an exception X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #13848 has been updated by mrkn (Kenta Murata). Status changed from Open to Assigned Assignee set to mrkn (Kenta Murata) Target version set to next minor I'm working this bug at https://github.com/ruby/bigdecimal/pull/87 ---------------------------------------- Bug #13848: BigDecimal.new('200.') raises an exception https://bugs.ruby-lang.org/issues/13848#change-68365 * Author: ddoherty03 (Daniel Doherty) * Status: Assigned * Priority: Normal * Assignee: mrkn (Kenta Murata) * Target version: next minor * ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux] * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- BigDecimal.new('200.') raises an exception: ArgumentError: invalid value for BigDecimal(): "200." It should accept this as a valid decimal number. This requires fixing numbers read in from the wild. -- https://bugs.ruby-lang.org/