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

From: nobu@...
Date: 2016-01-19 04:34:34 UTC
List: ruby-core #72924
Issue #12005 has been updated by Nobuyoshi Nakada.

Description updated

Could you elaborate the road map?

1. move methods from `Fixnum` and `Bignum` to `Integer`, with code to dispatch by its range
2. deprecate direct use of `Fixnum` and `Bignum`
3. remove them

Please correct it if something is missing.

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

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



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