From: Marc-Andre Lafortune Date: 2009-10-10T14:53:33+09:00 Subject: [ruby-core:26028] [Bug #2189] Math.atanh(1) & Math.atanh(-1) should not raise an error Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error http://redmine.ruby-lang.org/issues/show/2189 Author: Marc-Andre Lafortune Status: Closed, Priority: Normal Category: core, Target version: 1.9.2 ruby -v: ruby 1.9.2dev (2009-10-09 trunk 25274) [x86_64-darwin10.0.0] Regression caught by RubySpec. $ rubydev -v -e 'p Math.atanh(1)' ruby 1.9.2dev (2009-10-09 trunk 25274) [x86_64-darwin10.0.0] -e:1:in `atanh': Numerical argument out of domain - atanh (Errno::EDOM) from -e:1:in `
' $ ruby187 -v -e 'p Math.atanh(1)' ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] Infinity Fixed in r25279 ---------------------------------------- http://redmine.ruby-lang.org