From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-2.9 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 292E120A1E for ; Fri, 7 Dec 2018 02:25:01 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id F06C2121002; Fri, 7 Dec 2018 11:24:59 +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 BA276121002 for ; Fri, 7 Dec 2018 11:24:57 +0900 (JST) Received: by filter0062p3iad2.sendgrid.net with SMTP id filter0062p3iad2-10257-5C09D9F7-2 2018-12-07 02:24:55.117184733 +0000 UTC m=+286288.549035536 Received: from herokuapp.com (ec2-54-158-70-107.compute-1.amazonaws.com [54.158.70.107]) by ismtpd0068p1mdw1.sendgrid.net (SG) with ESMTP id 9rXVmOHeQdu6FUfwBs963A Fri, 07 Dec 2018 02:24:55.114 +0000 (UTC) Date: Fri, 07 Dec 2018 02:24:55 +0000 (UTC) From: muraken@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 65744 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS7NU+gER651a7hndm40XCPbi7/XyOAwI/CHP6 QBDFQ/+CPJwbM5YCld2TNzjXxaH7TCLwuQx68lPaDudLxHDPNZWZMwbMiTsRb3+UMunSXBpbj6tLZN 9vTaxSQkR/bmogG3PK/bh5R3WimIjqdVZLnbmgjAhdvsTEk26aYkMd+Kpg== X-ML-Name: ruby-core X-Mail-Count: 90352 Subject: [ruby-core:90352] [Ruby trunk Bug#13848][Closed] 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 Assigned to Closed Fixed in r66222 ---------------------------------------- Bug #13848: BigDecimal.new('200.') raises an exception https://bugs.ruby-lang.org/issues/13848#change-75463 * Author: ddoherty03 (Daniel Doherty) * Status: Closed * Priority: Normal * Assignee: mrkn (Kenta Murata) * Target version: * 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/