Issue #8265 has been updated by nobu (Nobuyoshi Nakada).

Description updated


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

Author: Hanmac (Hans Mackowiak)
Status: Feedback
Priority: Normal
Assignee: 
Category: 
Target version: 


=begin
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
=end

i think that -0.0 should have fixed object_id too


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