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

From: naruse@...
Date: 2016-05-05 18:00:09 UTC
List: ruby-core #75374
Issue #12005 has been updated by Yui NARUSE.


Akira Tanaka wrote:
> Other benefits?

As you show people write Fixnum case and Bignum case.
But sometimes they write only Fixnum even though they must write Bignum case.
Unified Integer avoids such pitfall.

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

* Author: Yui NARUSE
* Status: Assigned
* 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`.

---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