ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal
@ 2013-12-02  0:01 vatsu (Gustavo Sales)
  2013-12-02  4:50 ` [ruby-core:58775] [ruby-trunk - Bug #9192] " nobu (Nobuyoshi Nakada)
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: vatsu (Gustavo Sales) @ 2013-12-02  0:01 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been reported by vatsu (Gustavo Sales).

----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192

Author: vatsu (Gustavo Sales)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:58775] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
@ 2013-12-02  4:50 ` nobu (Nobuyoshi Nakada)
  2013-12-02  7:28 ` [ruby-core:58783] " vatsu (Gustavo Sales)
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: nobu (Nobuyoshi Nakada) @ 2013-12-02  4:50 UTC (permalink / raw
  To: ruby-core


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


Sounds like the old usual floating point number error.
----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43344

Author: vatsu (Gustavo Sales)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:58783] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
  2013-12-02  4:50 ` [ruby-core:58775] [ruby-trunk - Bug #9192] " nobu (Nobuyoshi Nakada)
@ 2013-12-02  7:28 ` vatsu (Gustavo Sales)
  2013-12-02  9:54 ` [ruby-core:58787] " duerst (Martin Dürst)
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: vatsu (Gustavo Sales) @ 2013-12-02  7:28 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been updated by vatsu (Gustavo Sales).


Regardless the floating point computational representation, shouldn't we expect the same result for following statements? 

BigDecimal('706.06') <= 706.06 

and

706.06 >= BigDecimal('706.06')





----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43352

Author: vatsu (Gustavo Sales)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:58787] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
  2013-12-02  4:50 ` [ruby-core:58775] [ruby-trunk - Bug #9192] " nobu (Nobuyoshi Nakada)
  2013-12-02  7:28 ` [ruby-core:58783] " vatsu (Gustavo Sales)
@ 2013-12-02  9:54 ` duerst (Martin Dürst)
  2013-12-02 13:52 ` [ruby-core:58793] " nobu (Nobuyoshi Nakada)
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: duerst (Martin Dürst) @ 2013-12-02  9:54 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been updated by duerst (Martin Dürst).


nobu (Nobuyoshi Nakada) wrote:
> Sounds like the old usual floating point number error.

I don't think so. BigDecimal('706.06') is exact. 706.06 is a float, and therefore can't be represented exactly. That means that it's either represented as too small or too big than 706.06. If it's represented as too small, then we should get false twice; if it's represented as too big, we should get true twice.

This would be "the old usual floating point number error" if Gustavo had asked why 706.06 != BigDecimal('706.06'), but that's not the question here.
----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43356

Author: vatsu (Gustavo Sales)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:58793] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (2 preceding siblings ...)
  2013-12-02  9:54 ` [ruby-core:58787] " duerst (Martin Dürst)
@ 2013-12-02 13:52 ` nobu (Nobuyoshi Nakada)
  2013-12-03  2:22 ` [ruby-core:58815] " vatsu (Gustavo Sales)
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: nobu (Nobuyoshi Nakada) @ 2013-12-02 13:52 UTC (permalink / raw
  To: ruby-core


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


Sorry, I've not read your code carefully. # from my iPhone

I'll look it again tommorrow.
----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43362

Author: vatsu (Gustavo Sales)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:58815] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (3 preceding siblings ...)
  2013-12-02 13:52 ` [ruby-core:58793] " nobu (Nobuyoshi Nakada)
@ 2013-12-03  2:22 ` vatsu (Gustavo Sales)
  2013-12-03  5:38 ` [ruby-core:58826] [ruby-trunk - Bug #9192][Assigned] " nobu (Nobuyoshi Nakada)
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: vatsu (Gustavo Sales) @ 2013-12-03  2:22 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been updated by vatsu (Gustavo Sales).


BTW, I am keen to help on solving this, but I would need guidance...
----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43378

Author: vatsu (Gustavo Sales)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:58826] [ruby-trunk - Bug #9192][Assigned] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (4 preceding siblings ...)
  2013-12-03  2:22 ` [ruby-core:58815] " vatsu (Gustavo Sales)
@ 2013-12-03  5:38 ` nobu (Nobuyoshi Nakada)
  2013-12-03  5:57 ` [ruby-core:58827] [ruby-trunk - Bug #9192] " marcandre (Marc-Andre Lafortune)
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: nobu (Nobuyoshi Nakada) @ 2013-12-03  5:38 UTC (permalink / raw
  To: ruby-core


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

Category set to ext
Status changed from Open to Assigned
Assignee set to mrkn (Kenta Murata)

BigDecimal converts Float with to_r, and 706.06.to_r returns (1552642359815045/2199023255552).
But Float#to_r doesn't consider that Float is inexact, this is not equal to 706.06.
Converting by rb_flt_rationalize_with_prec() seems solving this issue, but makes BigDecimal test stuck.
----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43390

Author: vatsu (Gustavo Sales)
Status: Assigned
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category: ext
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:58827] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (5 preceding siblings ...)
  2013-12-03  5:38 ` [ruby-core:58826] [ruby-trunk - Bug #9192][Assigned] " nobu (Nobuyoshi Nakada)
@ 2013-12-03  5:57 ` marcandre (Marc-Andre Lafortune)
  2013-12-04 10:58 ` [ruby-core:58849] " duerst (Martin Dürst)
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: marcandre (Marc-Andre Lafortune) @ 2013-12-03  5:57 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been updated by marcandre (Marc-Andre Lafortune).


duerst (Martin Dürst) wrote:
> nobu (Nobuyoshi Nakada) wrote:
> > Sounds like the old usual floating point number error.
> 
> I don't think so. BigDecimal('706.06') is exact. 706.06 is a float, and therefore can't be represented exactly. That means that it's either represented as too small or too big than 706.06. If it's represented as too small, then we should get false twice; if it's represented as too big, we should get true twice.
> This would be "the old usual floating point number error" if Gustavo had asked why 706.06 != BigDecimal('706.06'), but that's not the question here.

I never thought about comparison of float with other numeric types, but should we convert everything to float and compare this way? This way we insure that:

    any_big_decimal.to_f == any_big_decimal

Here, the float 706.06 stands for a small range of real numbers that includes BigDecimal('706.06'). Thus shouldn't we have 706.06 == BigDecimal('706.06')?



----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43391

Author: vatsu (Gustavo Sales)
Status: Assigned
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category: ext
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:58849] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (6 preceding siblings ...)
  2013-12-03  5:57 ` [ruby-core:58827] [ruby-trunk - Bug #9192] " marcandre (Marc-Andre Lafortune)
@ 2013-12-04 10:58 ` duerst (Martin Dürst)
  2013-12-04 15:44 ` [ruby-core:58855] " marcandre (Marc-Andre Lafortune)
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: duerst (Martin Dürst) @ 2013-12-04 10:58 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been updated by duerst (Martin Dürst).


marcandre (Marc-Andre Lafortune) wrote:

> I never thought about comparison of float with other numeric types, but should we convert everything to float and compare this way? This way we insure that:
> 
>     any_big_decimal.to_f == any_big_decimal
> 
> Here, the float 706.06 stands for a small range of real numbers that includes BigDecimal('706.06'). Thus shouldn't we have 706.06 == BigDecimal('706.06')?

This definitely would be a good solution for this specific example. But we have to (try to) make sure it's going to work consistently for other numeric types, too. For example, I tested with Rational(70606, 100). That compares equal with 706.06 (both ways). So it would indeed make sense to have BigDecimal('706.06') also compare equal with 706.06. It currently does if written 706.06 op BigDecimal('706.06') (op is any of <=>, <=, ==, >=, !=, <, >), but not the other way round.

But simply converting BigDecimal to Float may not make sense in general. Imagine a BigDecimal with much higher precision, like
BigDecimal('706.06059999999999'), and some corresponding floats. We may want to actually say that the BigDecimal is bigger or smaller than the float created from the same string, because the float looses precision.

Currently, I get
   706.06059999999999 <=> BigDecimal('706.06059999999999') #=>  0
   BigDecimal('706.06059999999999') <=> 706.0605999999999  #=> -1
which is of course inconsistent. We should in any case make sure that
   (a <=> b) + (b <=> a)
is always 0 wherever the comparison makes sense.

----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43407

Author: vatsu (Gustavo Sales)
Status: Assigned
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category: ext
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:58855] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (7 preceding siblings ...)
  2013-12-04 10:58 ` [ruby-core:58849] " duerst (Martin Dürst)
@ 2013-12-04 15:44 ` marcandre (Marc-Andre Lafortune)
  2013-12-04 22:32 ` [ruby-core:58861] " vatsu (Gustavo Sales)
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: marcandre (Marc-Andre Lafortune) @ 2013-12-04 15:44 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been updated by marcandre (Marc-Andre Lafortune).


duerst (Martin Dürst) wrote:
> ...
> But simply converting BigDecimal to Float may not make sense in general. Imagine a BigDecimal with much higher precision, like
> BigDecimal('706.06059999999999'), and some corresponding floats. We may want to actually say that the BigDecimal is bigger or smaller than the float created from the same string, because the float looses precision.
> Currently, I get
>    706.06059999999999 <=> BigDecimal('706.06059999999999') #=>  0
>    BigDecimal('706.06059999999999') <=> 706.0605999999999  #=> -1
> which is of course inconsistent. We should in any case make sure that
>    (a <=> b) + (b <=> a)
> is always 0 wherever the comparison makes sense.

Agreed.

The float we write as 706.0606 represents a small range of real values that includes the real number 706.06059999999999. So the first result is correct:

    706.0606 <=> BigDecimal('706.06059999999999') #=>  0, ok

The only strange effect is that we can get:

    a == x # => true
    b == x # => true
    a == b # => false

when x is a Float and a or b are higher precision numerics.
This can be explained because the first two comparison involve floats and thus dealing with approximate values.

----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43412

Author: vatsu (Gustavo Sales)
Status: Assigned
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category: ext
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:58861] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (8 preceding siblings ...)
  2013-12-04 15:44 ` [ruby-core:58855] " marcandre (Marc-Andre Lafortune)
@ 2013-12-04 22:32 ` vatsu (Gustavo Sales)
  2013-12-09 18:42 ` [ruby-core:59001] [ruby-trunk - Bug #9192][Open] " marcandre (Marc-Andre Lafortune)
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: vatsu (Gustavo Sales) @ 2013-12-04 22:32 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been updated by vatsu (Gustavo Sales).


marcandre (Marc-Andre Lafortune) wrote:
> duerst (Martin Dürst) wrote:
> > ...
> > But simply converting BigDecimal to Float may not make sense in general. Imagine a BigDecimal with much higher precision, like
> > BigDecimal('706.06059999999999'), and some corresponding floats. We may want to actually say that the BigDecimal is bigger or smaller than the float created from the same string, because the float looses precision.
> > Currently, I get
> >    706.06059999999999 <=> BigDecimal('706.06059999999999') #=>  0
> >    BigDecimal('706.06059999999999') <=> 706.0605999999999  #=> -1
> > which is of course inconsistent. We should in any case make sure that
> >    (a <=> b) + (b <=> a)
> > is always 0 wherever the comparison makes sense.
> 
> Agreed.
> 
> The float we write as 706.0606 represents a small range of real values that includes the real number 706.06059999999999. So the first result is correct:
> 
>     706.0606 <=> BigDecimal('706.06059999999999') #=>  0, ok
> 
> The only strange effect is that we can get:
> 
>     a == x # => true
>     b == x # => true
>     a == b # => false
> 
> when x is a Float and a or b are higher precision numerics.
> This can be explained because the first two comparison involve floats and thus dealing with approximate values.
 
I don't think it's a good idea to convert to float. We, programmers, have to know how numbers are stored in memory and we also know how to deal with different number's precision.  My only concern is about making comparison between any 2 Numeric subclasses consistent. In that sense, I agree with @duerst.  But, it is just my opinion as ruby programmer that is starting to try to help on ruby-core.


----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43416

Author: vatsu (Gustavo Sales)
Status: Assigned
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category: ext
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:59001] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (9 preceding siblings ...)
  2013-12-04 22:32 ` [ruby-core:58861] " vatsu (Gustavo Sales)
@ 2013-12-09 18:42 ` marcandre (Marc-Andre Lafortune)
  2013-12-10  0:20 ` [ruby-core:59013] [ruby-trunk - Bug #9192] " vatsu (Gustavo Sales)
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: marcandre (Marc-Andre Lafortune) @ 2013-12-09 18:42 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been updated by marcandre (Marc-Andre Lafortune).

Status changed from Closed to Open

Hi

1) I disagree with this change. Is it possible to know why you decided to ignore my recommendation without even commenting on it?

2) The implementation is buggy. For example:

    BigDecimal('0.21611564636388508') == 0.21611564636388508 # => false, should be true
----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43554

Author: vatsu (Gustavo Sales)
Status: Open
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category: ext
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:59013] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (10 preceding siblings ...)
  2013-12-09 18:42 ` [ruby-core:59001] [ruby-trunk - Bug #9192][Open] " marcandre (Marc-Andre Lafortune)
@ 2013-12-10  0:20 ` vatsu (Gustavo Sales)
  2013-12-13 15:25 ` [ruby-core:59091] " mrkn (Kenta Murata)
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: vatsu (Gustavo Sales) @ 2013-12-10  0:20 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been updated by vatsu (Gustavo Sales).


Thank you, mrkn!

----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43563

Author: vatsu (Gustavo Sales)
Status: Open
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category: ext
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:59091] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (11 preceding siblings ...)
  2013-12-10  0:20 ` [ruby-core:59013] [ruby-trunk - Bug #9192] " vatsu (Gustavo Sales)
@ 2013-12-13 15:25 ` mrkn (Kenta Murata)
  2014-02-28 23:23 ` [ruby-core:61155] " knugie
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: mrkn (Kenta Murata) @ 2013-12-13 15:25 UTC (permalink / raw
  To: ruby-core


Issue #9192 has been updated by mrkn (Kenta Murata).


marcandre (Marc-Andre Lafortune) wrote:
> 1) I disagree with this change. Is it possible to know why you decided to ignore my recommendation without even commenting on it?

I'm sorry I didn't see your comments.
It is because there were only 3-4 comments on this issue when I started to tackle it.

> 2) The implementation is buggy. For example:
> 
>     BigDecimal('0.21611564636388508') == 0.21611564636388508 # => false, should be true

Thank you to find this case.  I'll read your above comments and fix this issue.
----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-43647

Author: vatsu (Gustavo Sales)
Status: Open
Priority: Normal
Assignee: mrkn (Kenta Murata)
Category: ext
Target version: 
ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:61155] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (12 preceding siblings ...)
  2013-12-13 15:25 ` [ruby-core:59091] " mrkn (Kenta Murata)
@ 2014-02-28 23:23 ` knugie
  2014-03-01  6:36 ` [ruby-core:61162] " ruby-core
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: knugie @ 2014-02-28 23:23 UTC (permalink / raw
  To: ruby-core

Issue #9192 has been updated by Wolfgang Teuber.


Marc-Andre Lafortune wrote:
> 2) The implementation is buggy. For example:
> 
>     BigDecimal('0.21611564636388508') == 0.21611564636388508 # => false, should be true

You are exceeding the max precision Float::DIG (http://www.ruby-doc.org/core-2.0.0/Float.html#DIG => "Usually defaults to 15."). Your example uses 17 significant digits, which will ultimately lead to floating point number errors. The issue you described is not related to Gustavo's issue.

----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-45524

* Author: Gustavo Sales
* Status: Open
* Priority: Normal
* Assignee: Kenta Murata
* Category: ext
* Target version: 
* ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########

---Files--------------------------------
compare_decimal_float.rb (529 Bytes)


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:61162] [ruby-trunk - Bug #9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (13 preceding siblings ...)
  2014-02-28 23:23 ` [ruby-core:61155] " knugie
@ 2014-03-01  6:36 ` ruby-core
  2016-12-10  7:23 ` [ruby-core:78575] [Ruby trunk Bug#9192] " muraken
  2016-12-10  7:23 ` [ruby-core:78576] [Ruby trunk Bug#9192][Closed] " muraken
  16 siblings, 0 replies; 18+ messages in thread
From: ruby-core @ 2014-03-01  6:36 UTC (permalink / raw
  To: ruby-core

Issue #9192 has been updated by Marc-Andre Lafortune.


Wolfgang Teuber wrote:
> You are exceeding the max precision Float::DIG (http://www.ruby-doc.org/core-2.0.0/Float.html#DIG => "Usually defaults to 15."). Your example uses 17 significant digits, which will ultimately lead to floating point number errors.

The doc is misleading. Floats can take from 15 to 17 decimals to be described uniquely. See for example https://bugs.ruby-lang.org/issues/3273

The example float I gave does take 17 decimals. It's not possible to describe that float with less.

> The issue you described is not related to Gustavo's issue.

I find it difficult to respond when what I wrote seems to me to be so clear. r44073 is an attempt to fix Gustavo's issue. As I stated, I disagree with what r44073 wants to do, but even if it was decided it was the right thing to do, it doesn't even do it correctly, as shown in my counterexample.

Hope this helps.

----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-45528

* Author: Gustavo Sales
* Status: Open
* Priority: Normal
* Assignee: Kenta Murata
* Category: ext
* Target version: 
* ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN
----------------------------------------
I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########

---Files--------------------------------
compare_decimal_float.rb (529 Bytes)


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:78575] [Ruby trunk Bug#9192] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (14 preceding siblings ...)
  2014-03-01  6:36 ` [ruby-core:61162] " ruby-core
@ 2016-12-10  7:23 ` muraken
  2016-12-10  7:23 ` [ruby-core:78576] [Ruby trunk Bug#9192][Closed] " muraken
  16 siblings, 0 replies; 18+ messages in thread
From: muraken @ 2016-12-10  7:23 UTC (permalink / raw
  To: ruby-core

Issue #9192 has been updated by Kenta Murata.

Backport deleted (1.9.3: UNKNOWN, 2.0.0: UNKNOWN)

This is fixed in the latest master branch of [ruby/bigdecimal](https://github.com/ruby/bigdecimal).

----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-61960

* Author: Gustavo Sales
* Status: Open
* Priority: Normal
* Assignee: Kenta Murata
* ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
* Backport: 
----------------------------------------
I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########

---Files--------------------------------
compare_decimal_float.rb (529 Bytes)


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [ruby-core:78576] [Ruby trunk Bug#9192][Closed] Inconsistent comparison between Float and BigDecimal
  2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
                   ` (15 preceding siblings ...)
  2016-12-10  7:23 ` [ruby-core:78575] [Ruby trunk Bug#9192] " muraken
@ 2016-12-10  7:23 ` muraken
  16 siblings, 0 replies; 18+ messages in thread
From: muraken @ 2016-12-10  7:23 UTC (permalink / raw
  To: ruby-core

Issue #9192 has been updated by Kenta Murata.

Status changed from Open to Closed
Backport set to 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN

----------------------------------------
Bug #9192: Inconsistent comparison between Float and BigDecimal
https://bugs.ruby-lang.org/issues/9192#change-61961

* Author: Gustavo Sales
* Status: Closed
* Priority: Normal
* Assignee: Kenta Murata
* ruby -v:  2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin11.4.2]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
I was checking a possible inconsistency on ActiveModel and I found situations where comparing BigDecimal to Float differs to comparing Float to BigDecimal.

I have create a simple ruby script to exemplify the problem. The script is attach to this issue and output is as follows:

Instance number 706.05
###########
Instance number 706.06
Inconsistence:
0.70606E3 > 706.06
706.06 < 0.70606E3
=========
Inconsistence:
0.70606E3 <= 706.06
706.06 >= 0.70606E3
=========
###########
Instance number 706.07
Inconsistence:
0.70607E3 < 706.07
706.07 > 0.70607E3
=========
Inconsistence:
0.70607E3 >= 706.07
706.07 <= 0.70607E3
=========
###########
Instance number 706.08
###########

---Files--------------------------------
compare_decimal_float.rb (529 Bytes)


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-12-10  6:53 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02  0:01 [ruby-core:58756] [ruby-trunk - Bug #9192][Open] Inconsistent comparison between Float and BigDecimal vatsu (Gustavo Sales)
2013-12-02  4:50 ` [ruby-core:58775] [ruby-trunk - Bug #9192] " nobu (Nobuyoshi Nakada)
2013-12-02  7:28 ` [ruby-core:58783] " vatsu (Gustavo Sales)
2013-12-02  9:54 ` [ruby-core:58787] " duerst (Martin Dürst)
2013-12-02 13:52 ` [ruby-core:58793] " nobu (Nobuyoshi Nakada)
2013-12-03  2:22 ` [ruby-core:58815] " vatsu (Gustavo Sales)
2013-12-03  5:38 ` [ruby-core:58826] [ruby-trunk - Bug #9192][Assigned] " nobu (Nobuyoshi Nakada)
2013-12-03  5:57 ` [ruby-core:58827] [ruby-trunk - Bug #9192] " marcandre (Marc-Andre Lafortune)
2013-12-04 10:58 ` [ruby-core:58849] " duerst (Martin Dürst)
2013-12-04 15:44 ` [ruby-core:58855] " marcandre (Marc-Andre Lafortune)
2013-12-04 22:32 ` [ruby-core:58861] " vatsu (Gustavo Sales)
2013-12-09 18:42 ` [ruby-core:59001] [ruby-trunk - Bug #9192][Open] " marcandre (Marc-Andre Lafortune)
2013-12-10  0:20 ` [ruby-core:59013] [ruby-trunk - Bug #9192] " vatsu (Gustavo Sales)
2013-12-13 15:25 ` [ruby-core:59091] " mrkn (Kenta Murata)
2014-02-28 23:23 ` [ruby-core:61155] " knugie
2014-03-01  6:36 ` [ruby-core:61162] " ruby-core
2016-12-10  7:23 ` [ruby-core:78575] [Ruby trunk Bug#9192] " muraken
2016-12-10  7:23 ` [ruby-core:78576] [Ruby trunk Bug#9192][Closed] " muraken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).