Project

General

Profile

Bug #9831

C99-like atan2 check test failure under MinGW-w64

Added by luislavena (Luis Lavena) about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 2.2.0dev (2014-05-11 trunk 45921) [i386-mingw32]
[ruby-core:62536]

Description

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

Updated by nobu (Nobuyoshi Nakada) about 6 years ago

  • 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]

Updated by usa (Usaku NAKAMURA) almost 6 years ago

  • Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED

Also available in: Atom PDF