diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-02 05:16:39 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-02 05:16:39 +0000 |
commit | 01983c97a96a731b459dab7bab9c34a0468c7caf (patch) | |
tree | e933a7c93cbb7d42757017eed016610239c037da /NEWS | |
parent | 0732ed367ceba4cfc2bd27690b7541545f62c3a2 (diff) | |
download | ruby-01983c97a96a731b459dab7bab9c34a0468c7caf.tar.gz |
* NEWS: fix description of number literal suffixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ with all sufficient information, see the ChangeLog file. === 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. |