diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-10 05:56:07 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-10 05:56:07 +0000 |
commit | 243400fbedab5b1701451f5a92c2453e400547bc (patch) | |
tree | 10a77ac599ecd95e96df6ce94757faa75b22a9d2 /math.c | |
parent | 8571bdbd6766147ece7b9045bcdf019510a71210 (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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); } |