Project

General

Profile

Actions

Bug #12958

closed

Breaking change in how `#round` works

Added by rafaelfranca (Rafael França) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:78204]

Description

We noticed in the Rails test suite that there is a breaking change in how #round works between 2.3 and 2.4

https://github.com/rails/rails/pull/27091

Is that desirable?

I think it is may cause a lot of problem if the behavior of #round without any arguments changes between a minor version.


Related issues

Related to Ruby master - Bug #12548: Rounding modes inconsistency between round versus sprintfClosedActions
Actions

Also available in: Atom PDF