diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-10 11:38:47 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-10 11:38:47 +0000 |
commit | d3d4669281aed800874ae3229e17b39de706d0a8 (patch) | |
tree | 2ad076d61eb6dbcac4e2f1bbd38411a0cf3bfe9c | |
parent | 38a874ade8b20689c8e7ca91340bd2ea3ed0737c (diff) | |
download | ruby-d3d4669281aed800874ae3229e17b39de706d0a8.tar.gz ruby-d3d4669281aed800874ae3229e17b39de706d0a8.tar.xz ruby-d3d4669281aed800874ae3229e17b39de706d0a8.zip |
* math.c (math_atanh): reverted r25279.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | math.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sat Oct 10 20:35:27 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp> + + * math.c (math_atanh): reverted r25279. + Sat Oct 10 19:03:29 2009 Tanaka Akira <akr@fsij.org> * ext/curses/curses.c: use rb_thread_blocking_region to avoid @@ -298,6 +298,7 @@ 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); } |