summaryrefslogtreecommitdiff
path: root/ext/bigdecimal
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-20 17:44:27 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-20 17:44:27 +0000
commit18d29d79a29617c5823bcc4d86fbc9e9e1064957 (patch)
treeb18e927f00ac49fbc1926e43af339156a348e205 /ext/bigdecimal
parentc38c0537e054c5b7f61d6a11d2329b47bd878d83 (diff)
* ext/bigdecimal/lib/bigdecimal/jacobian.rb: Document isEqual. Patch
by Kuba Fietkiewicz. [Ruby 1.9 - Bug #4744] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal')
-rw-r--r--ext/bigdecimal/lib/bigdecimal/jacobian.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/jacobian.rb b/ext/bigdecimal/lib/bigdecimal/jacobian.rb
index e4420df..3f47e43 100644
--- a/ext/bigdecimal/lib/bigdecimal/jacobian.rb
+++ b/ext/bigdecimal/lib/bigdecimal/jacobian.rb
@@ -23,7 +23,7 @@
module Jacobian
module_function
- #--
+ # Determines the equality of two numbers by comparing to zero, or using the epsilon value
def isEqual(a,b,zero=0.0,e=1.0e-8)
aa = a.abs
bb = b.abs
@@ -37,7 +37,7 @@ module Jacobian
end
end
end
- #++
+
# Computes the derivative of f[i] at x[i].
# fx is the value of f at x.