[ruby-core:76168] [Ruby trunk Feature#12005] Unify Fixnum and Bignum into Integer

From: naruse@...
Date: 2016-06-28 05:26:24 UTC
List: ruby-core #76168
Issue #12005 has been updated by Yui NARUSE.

Description updated

----------------------------------------
Feature #12005: Unify Fixnum and Bignum into Integer
https://bugs.ruby-lang.org/issues/12005#change-59376

* Author: Yui NARUSE
* Status: Closed
* Priority: Normal
* Assignee: Kenta Murata
----------------------------------------
CRuby has two `Integer` classes, `Fixnum` and `Bignum`.
But it is implementation detail.
They should be seen as a single class `Integer` like `Flonum`.

## Compatibility note

* Q: How do I check whether Fixnum and Bignum are unified or not?
* A: check RUBY_INTEGER_UNIFICATION macro

---Files--------------------------------
unify-fixnum-and-bignum.patch (30.5 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next