[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61307] [ruby-trunk - Bug #9595] [Open] Float#to_d inconsistent between 2.0.0 and 2.1.1

From: mike@...
Date: 2014-03-05 16:22:30 UTC
List: ruby-core #61307
Issue #9595 has been reported by Mike Boone.

----------------------------------------
Bug #9595: Float#to_d inconsistent between 2.0.0 and 2.1.1
https://bugs.ruby-lang.org/issues/9595

* Author: Mike Boone
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
The following code produces different BigDecimal results in 2.0.0 vs. 2.1.1:

    require 'big decimal'
    require 'bigdecimal/util'
    (1/1.3667).to_d
    
2.0.0 returns: #&lt;BigDecimal:7fa7fc04dc28,'0.7316894709 885124E0',18(45)&gt;
2.1.1 returns: #&lt;BigDecimal:7fabd1a25768,'0.7316894709 88512E0',18(36)&gt;

2.1.1 is a digit short. Related to #9305?



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

In This Thread

Prev Next