diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-04 02:41:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-04 02:41:35 +0000 |
commit | d64eef156f4a95797b31deee1c64a4090bc40bb5 (patch) | |
tree | 04b8512c1fee77f8b6670bbd3ffd420a532e0b0d | |
parent | 7a6ebecf9ea5d00ccde2d78d45d35aaff3866845 (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
-rw-r--r-- | math.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |