summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-04 02:41:35 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-04 02:41:35 (GMT)
commitd64eef156f4a95797b31deee1c64a4090bc40bb5 (patch)
tree04b8512c1fee77f8b6670bbd3ffd420a532e0b0d /math.c
parent7a6ebecf9ea5d00ccde2d78d45d35aaff3866845 (diff)
* 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
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index b042e7d..e1fa74f 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 */