[#144] Another implementation of Bignum — "Dmitry Antipov" <dmitry.antipov@...>
Hello Ruby hackers,
15 messages
2002/06/06
[#151] Re: Another implementation of Bignum [tarball attached]
— "Dmitry Antipov" <dmitry.antipov@...>
2002/06/07
Hello again,
[#152] Re: Another implementation of Bignum [tarball attached]
— matz@... (Yukihiro Matsumoto)
2002/06/07
Hi,
[#174] Improving Ruby's garbage collector for interactive apps — Matthew Bloch <mattbee@...>
re: this problem I had a few weeks back:
8 messages
2002/06/19
[#177] Re: Improving Ruby's garbage collector for interactive apps
— matz@... (Yukihiro Matsumoto)
2002/06/20
Hi,
[#178] Re: Improving Ruby's garbage collector for interactive apps
— Matthew Bloch <mattbee@...>
2002/06/21
On Thursday 20 June 2002 18:54, you wrote:
[#186] Steps to get multiple interpreters per process... — Sean Chittenden <sean@...>
Can someone chart out what would need to happen to get multiple ruby
10 messages
2002/06/24
[#187] Re: Steps to get multiple interpreters per process...
— matz@... (Yukihiro Matsumoto)
2002/06/25
Hi,
[#188] Re: Steps to get multiple interpreters per process...
— Sean Chittenden <sean@...>
2002/06/25
> |Can someone chart out what would need to happen to get multiple
[#191] Re: Steps to get multiple interpreters per process...
— Chris Ross <chris@...>
2002/06/25
Re: Bignum bug
From:
matz@... (Yukihiro Matsumoto)
Date:
2002-06-13 15:42:04 UTC
List:
ruby-core #167
Hi,
In message "Bignum bug"
on 02/06/11, "Christoph" <chr_news@gmx.net> writes:
|the changes 1.43-1.44 and 1.31.2.12 back in
|October/November last year created a logical
|bug (IMO of course;-). Before this change
|
|---
|10**400 > 0.0 # => true
|10**400 + 10**400 > 0.0 + 10**400
|---
|
|would raise a FloatDomainError, now we are getting
|
|---
|10**400 > 0.0 # => true
|10**400 + 10**400 > 0.0 + 10**400 # => false
|---
|
|in other words ``+'' and ``>'' are in-compatible
|(technically you could say that ``>'' is not an
|admissible order with respect to ``+'').
You get the same result from Python too.
10L**400 + 10L**400 > 0.0 + 10L**400 # false
So the point is:
what should be the result of "x > y";
where y is a positive float infinity and
x is a bignum bigger than MAXFLOAT
Hmm, let me think.
matz.