Project

General

Profile

Actions

Bug #13104

closed

mathn.rb affects Rational literals

Added by nobu (Nobuyoshi Nakada) over 7 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
[ruby-core:78976]

Description

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0