[ruby-core:84034] [Ruby trunk Bug#13104] mathn.rb affects Rational literals

From: naruse@...
Date: 2017-12-01 16:30:15 UTC
List: ruby-core #84034
Issue #13104 has been updated by naruse (Yui NARUSE).

Target version deleted (2.5)

mathn is out of scope from release engineering.

----------------------------------------
Bug #13104: mathn.rb affects Rational literals
https://bugs.ruby-lang.org/issues/13104#change-68118

* Author: nobu (Nobuyoshi Nakada)
* Status: Assigned
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: 
* ruby -v: r57270
* Backport: 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED
----------------------------------------
Without mathn:

```
$ ruby -e 'p 1.0r'
(1/1)
```

With mathn:

```
$ ruby -rmathn -e 'p 1.0r'
1
```

Is this intentional?

https://github.com/ruby/ruby/compare/trunk...nobu:bug/rational-literal-mathn




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next