ruby-changes:30691
From: mrkn <ko1@a...>
Date: Mon, 2 Sep 2013 14:16:47 +0900 (JST)
Subject: [ruby-changes:30691] mrkn:r42770 (trunk): * NEWS: fix description of number literal suffixes.
mrkn 2013-09-02 14:16:39 +0900 (Mon, 02 Sep 2013) New Revision: 42770 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42770 Log: * NEWS: fix description of number literal suffixes. Modified files: trunk/ChangeLog trunk/NEWS Index: ChangeLog =================================================================== --- ChangeLog (revision 42769) +++ ChangeLog (revision 42770) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Sep 2 14:15:00 2013 Kenta Murata <mrkn@c...> + + * NEWS: fix description of number literal suffixes. + Mon Sep 2 14:01:00 2013 Charlie Somerville <charliesome@r...> * test/rake/test_rake_rules.rb: add space after string literal to Index: NEWS =================================================================== --- NEWS (revision 42769) +++ NEWS (revision 42770) @@ -13,7 +13,7 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L13 === Language changes -* Added integer and float literals: 'r', 'i', and 'ri'. +* Added suffixes for integer and float literals: 'r', 'i', and 'ri'. * "42r" and "3.14r" are evaluated as Rational(42, 1) and 3.14.rationalize, respectively. But exponential form with 'r' suffix like "6.022e+23r" is not accepted because it is misleading. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/