summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-10 05:56:07 (GMT)
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-10 05:56:07 (GMT)
commit243400fbedab5b1701451f5a92c2453e400547bc (patch)
tree10a77ac599ecd95e96df6ce94757faa75b22a9d2 /math.c
parent8571bdbd6766147ece7b9045bcdf019510a71210 (diff)
* math.c (math_atanh): Fix bug for Math.atanh(+/-1). It now returns +-Infinity. [ruby-core:26028]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r--math.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/math.c b/math.c
index 51caf35..630aa13 100644
--- a/math.c
+++ b/math.c
@@ -298,7 +298,6 @@ math_atanh(VALUE obj, VALUE x)
d0 = RFLOAT_VALUE(x);
d = atanh(d0);
domain_check(d0, d, "atanh");
- infinity_check(x, d, "atanh");
return DBL2NUM(d);
}