Issue #6974 has been reported by jks (john sikora).

----------------------------------------
Bug #6974: Functionality Loss in Bignum for Very Large Numbers (5.9 million digits)
https://bugs.ruby-lang.org/issues/6974

Author: jks (john sikora)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 1.9.3
ruby -v: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]


The 'run' program for hwm = 10 runs fine in 1.9.2 (ruby 1.9.2p290 (2011-07-09) [i386-mingw32]) but it goes awry at coefficient 526 for 1.9.3. The numerator and denominator are correct so I suspect Bignum and not BigDecimal (the 'check' program checks this). Note that each run takes about 3 hours on my computer for hwm = 10. Both 1.9.2 and 1.9.3 work for hwm = 5 to 9 (in much less time).


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