Issue #8265 has been reported by Hanmac (Hans Mackowiak).

----------------------------------------
Bug #8265: -0.0 does not have a Flonum like 0.0
https://bugs.ruby-lang.org/issues/8265

Author: Hanmac (Hans Mackowiak)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.1.0dev (2013-04-02 trunk 40043) [x86_64-linux]


with Flonum,
fixed id for 0.0
(0.0).object_id #=> -9223372036854775806
(0.0).object_id #=> -9223372036854775806

non-fixed id for -0.0
(-0.0).object_id #=> 22387560
(-0.0).object_id #=> 22381340


i think that -0.0 should have fixed object_id too


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