Project

General

Profile

Actions

Bug #14587

closed

math library functions should NOT raise exceptions

Added by Anon92929 (Anon Ymous) over 3 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:85995]

Description

BigDecimal, Integer, Float, none of these should raise exceptions, but they should all fail SILENTLY or return NaN during error cases.

See: https://github.com/ruby/bigdecimal/issues/95

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!!!


Related issues

Has duplicate Ruby master - Bug #14588: math library functions should NOT raise exceptionsRejectedActions
Actions

Also available in: Atom PDF