From: shannonskipper@... Date: 2018-03-08T05:46:43+00:00 Subject: [ruby-core:86005] [Ruby trunk Bug#14588] math library functions should NOT raise exceptions 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/ Unsubscribe: