diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-30 07:30:46 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-30 07:30:46 +0000 |
commit | d3a349bbc3d0cd61322b86b500032d75d25a6ec3 (patch) | |
tree | 6c0f34142580c721af91103995abbaf710f5313d /ext/bigdecimal/lib | |
parent | ecb6bd90c01edc19165ff526ef15a59693b4f12f (diff) | |
download | ruby-d3a349bbc3d0cd61322b86b500032d75d25a6ec3.tar.gz |
* ext/bigdecimal/lib/bigdecimal/jacobian.rb,
ext/bigdecimal/lib/bigdecimal/newton.rb:
fix documentation comments.
Patch by alperakgun from github.com/shyouhei/ruby/pull/8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/lib')
-rw-r--r-- | ext/bigdecimal/lib/bigdecimal/jacobian.rb | 2 | ||||
-rw-r--r-- | ext/bigdecimal/lib/bigdecimal/newton.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/jacobian.rb b/ext/bigdecimal/lib/bigdecimal/jacobian.rb index f53e5b1437..a416e06832 100644 --- a/ext/bigdecimal/lib/bigdecimal/jacobian.rb +++ b/ext/bigdecimal/lib/bigdecimal/jacobian.rb @@ -11,7 +11,7 @@ # # f.zero:: returns 0.0 # f.one:: returns 1.0 -# f.two:: returns 1.0 +# f.two:: returns 2.0 # f.ten:: returns 10.0 # # f.eps:: returns the convergence criterion (epsilon value) used to determine whether two values are considered equal. If |a-b| < epsilon, the two values are considered equal. diff --git a/ext/bigdecimal/lib/bigdecimal/newton.rb b/ext/bigdecimal/lib/bigdecimal/newton.rb index 96defc3c06..1110652801 100644 --- a/ext/bigdecimal/lib/bigdecimal/newton.rb +++ b/ext/bigdecimal/lib/bigdecimal/newton.rb @@ -18,7 +18,7 @@ require "bigdecimal/jacobian" # # f.zero:: returns 0.0 # f.one:: returns 1.0 -# f.two:: returns 1.0 +# f.two:: returns 2.0 # f.ten:: returns 10.0 # # f.eps:: returns the convergence criterion (epsilon value) used to determine whether two values are considered equal. If |a-b| < epsilon, the two values are considered equal. |