[ruby-core:62548] [ruby-trunk - Bug #9831] [Closed] C99-like atan2 check test failure under MinGW-w64

From: nobu@...
Date: 2014-05-12 14:57:25 UTC
List: ruby-core #62548
Issue #9831 has been updated by Nobuyoshi Nakada.

Status changed from Assigned to Closed
% Done changed from 0 to 100

Applied in changeset r45930.

----------
configure.in: check atan2

* configure.in (rb_cv_atan2_inf_c99): check whether runtime atan2
  handles Inf as C99.  ruby-core:62536] [Bug #9831]

----------------------------------------
Bug #9831: C99-like atan2 check test failure under MinGW-w64
https://bugs.ruby-lang.org/issues/9831#change-46701

* Author: Luis Lavena
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: platform/mingw
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-05-11 trunk 45921) [i386-mingw32]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
After introduction of Feature #9799 (r45805) I started to see this failure when running tests under mingw-w64:

~~~
TestMath#test_atan2 [C:/Users/Luis/Code/ruby/ruby/test/ruby/test_math.rb:28]:
Exception raised:
<#<ArgumentError: comparison of Float with Float failed>>.
~~~

Here is a gist with all the other failures:

https://gist.github.com/luislavena/beb9bff73fdca800debc



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

In This Thread

Prev Next