Project

General

Profile

Actions

Bug #14587

closed

math library functions should NOT raise exceptions

Added by Anon92929 (Anon Ymous) about 6 years ago. Updated about 6 years ago.

Status:
Rejected
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 1 (0 open1 closed)

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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0