Issue #8621 has been updated by phasis68 (Heesob Park).


This issue is raise from pow function failure of float on mingw-w64 x86.

    C:\work>irb
    irb(main):001:0> 1 ** 2
    => 1
    irb(main):002:0> 1.0 ** 2.0

    C:\work>

Exited without return value or exception.

I found that this failure is due to r41836.

The pow call is causing infinite self calling.
The macro "#define pow rb_w32_pow" in win32.h 
and rb_32_pow function calls pow again in win32.c

I think the r41836 should be reverted.

----------------------------------------
Bug #8621: MinGW: Rational tests are causing error
https://bugs.ruby-lang.org/issues/8621#change-40436

Author: luislavena (Luis Lavena)
Status: Open
Priority: Normal
Assignee: tadf (tadayoshi funaba)
Category: test
Target version: current: 2.1.0
ruby -v: trunk r41900
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Hello,

It seems that Rational related tests are causing failure in RubyInstaller CI:

http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/1772/console

ComplexRational_Test#test_comp_srat = 0.00 s = .
ComplexRational_Test#test_rat_srat = make: *** [yes-test-all] Error 253

There is no backtrace or anything, but it has been failing over the last couple of builds repeatedly.


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