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.6 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_PASS,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 06BFE1F404 for ; Thu, 8 Mar 2018 05:46:51 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id C10301209CD; Thu, 8 Mar 2018 14:46:47 +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 701251209C9 for ; Thu, 8 Mar 2018 14:46:45 +0900 (JST) Received: by filter0003p3las1.sendgrid.net with SMTP id filter0003p3las1-23329-5AA0CE43-6 2018-03-08 05:46:43.215577094 +0000 UTC Received: from herokuapp.com (ec2-23-20-139-3.compute-1.amazonaws.com [23.20.139.3]) by ismtpd0008p1iad1.sendgrid.net (SG) with ESMTP id FU1Vwyr2Q2WE2LF8KQ6MPw for ; Thu, 08 Mar 2018 05:46:43.069 +0000 (UTC) Date: Thu, 08 Mar 2018 05:46:43 +0000 (UTC) From: shannonskipper@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 61329 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 14588 X-Redmine-Issue-Author: Anon92929 X-Redmine-Sender: shan 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS6nw2iat2XAVXUF83o4dWaWdImEKtAJfejpPi imz0iGvimqdmXEW9XF6+jtrOaTj07uJ2VanvVhEoe5ohliWUUp4ENPQ922uujD34qA6ns6LB0YP8HS ybP6nQRfNda/HeSxm3qQUmDvBJ5Sxk6mE/Gf0xmV9Xe0y//uzUCpzC1nMA== X-ML-Name: ruby-core X-Mail-Count: 86005 Subject: [ruby-core:86005] [Ruby trunk Bug#14588] math library functions should NOT raise exceptions 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 #14588 has been updated by shan (Shannon Skipper). What Github issue and bugs.ruby-lang.org issue are you referring to? > We REFUSE to attempt .to_s automatically It seems you're wanting Ruby to be weakly typed. Ruby is strongly typed and is likely to stay that way. > "." is not technically a number Did you think a period was a number? I'm confused what you mean by this. Maybe a link to the issues you're referring to will clear this up. ---------------------------------------- Bug #14588: math library functions should NOT raise exceptions https://bugs.ruby-lang.org/issues/14588#change-70867 * Author: Anon92929 (Anon Ymous) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- BigDecimal, Integer, Float, none of these should raise exceptions, but they should all fail SILENTLY or return NaN during error cases. I shouldn't have to go fix every possible way that BigDecimal might throw a breaking change in a thousand places in my codebase. I need math libraries that DON'T BREAK!!! BUG RESUBMITTED. The bug was rejected at github because I was referred to open a ticket at ruby-lang.org. The bug was rejectet at ruby-lang.org because the ticket was closed at github. Not cool, guys. -- https://bugs.ruby-lang.org/