From d64eef156f4a95797b31deee1c64a4090bc40bb5 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 4 May 2014 02:41:35 +0000 Subject: [PATCH] * math.c (math_atan2): remove the condition for test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math.c b/math.c index b042e7dbea..e1fa74fd33 100644 --- a/math.c +++ b/math.c @@ -79,7 +79,7 @@ math_atan2(VALUE obj, VALUE y, VALUE x) return DBL2NUM(M_PI); return DBL2NUM(-M_PI); } -#if !(defined(HAVE_ATAN2L) && defined(HAVE_ATAN2F)) || 1 +#if !(defined(HAVE_ATAN2L) && defined(HAVE_ATAN2F)) /* assume atan2() doesn't handle Inf as C99 */ if (isinf(dx) && isinf(dy)) { /* optimization for FLONUM */