Project

General

Profile

Actions

Backport #3362

closed

rb_big2dbl incorrectly returns Infinity for a negative Bignum out of range of a double

Added by brixen (Brian Shirai) almost 14 years ago. Updated almost 12 years ago.


Description

=begin
Revision 12261 changed rb_big2dbl in a way that caused a negative Bignum out of range of a double to be returned as Infinity rather than -Infinity. This was a regression that appears to be fixed in 1.9 but is still present in 1.8.7p249.

Could a fix for this be backported to 1.8.7 or are no further 1.8.7 versions being released? Also, the bug is still in http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8 so would presumably appear an a 1.8.8 release.

Thanks,
Brian
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0