summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-11 14:08:49 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-11 14:08:49 +0000
commit90985c411919bbc4ca197d400fb3e47f9195a389 (patch)
tree6d3434bbda4466ace114c6269b31bfada553bda9
parent7253570a838802cb04e99206beb945c427502616 (diff)
describe RUBY_INTEGER_UNIFICATION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b562ea1a836..947d0074f98 100644
--- a/NEWS
+++ b/NEWS
@@ -123,6 +123,7 @@ with all sufficient information, see the ChangeLog file or Redmine
So obj.kind_of?(Fixnum) works as obj.kind_of?(Integer).
At C-level, Fixnum object and Bignum object should be distinguished by
FIXNUM_P(obj) and RB_TYPE_P(obj, T_BIGNUM).
+ RUBY_INTEGER_UNIFICATION can be used to detect this feature.
ruby-2.4.0-preview1 (temporally) removes rb_cFixnum and rb_cBignum
to check the effect of incompatibility.
(rb_cFixnum and rb_cBignum may be defined as rb_cInteger later if