[前][次][番号順一覧][スレッド一覧]

ruby-changes:43561

From: akr <ko1@a...>
Date: Mon, 11 Jul 2016 23:08:53 +0900 (JST)
Subject: [ruby-changes:43561] akr:r55634 (trunk): describe RUBY_INTEGER_UNIFICATION.

akr	2016-07-11 23:08:49 +0900 (Mon, 11 Jul 2016)

  New Revision: 55634

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55634

  Log:
    describe RUBY_INTEGER_UNIFICATION.

  Modified files:
    trunk/NEWS
Index: NEWS
===================================================================
--- NEWS	(revision 55633)
+++ NEWS	(revision 55634)
@@ -123,6 +123,7 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L123
   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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]