Issue #13104 has been updated by jeremyevans0 (Jeremy Evans).

Status changed from Assigned to Closed

mathn was removed in Ruby 2.5.

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

* Author: nobu (Nobuyoshi Nakada)
* Status: Closed
* 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:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>