summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-17 13:24:53 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-17 13:24:53 +0000
commit10b7e0e4adc7c2beb13b30a53ac2bdc03ab50d22 (patch)
tree5099a13acf497c0483b887ffa4e24465fc9c5d45 /math.c
parent85bf0a2eb62e17640644c42c5d37dee90a75ad29 (diff)
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index 51caf35c5d..2b877ec64e 100644
--- a/math.c
+++ b/math.c
@@ -600,7 +600,7 @@ math_erfc(VALUE obj, VALUE x)
* Calculates the gamma function of x.
*
* Note that gamma(n) is same as fact(n-1) for integer n > 0.
- * However gamma(n) returns float and possibly has error in calculation.
+ * However gamma(n) returns float and can be an approximation.
*
* def fact(n) (1..n).inject(1) {|r,i| r*i } end
* 1.upto(26) {|i| p [i, Math.gamma(i), fact(i-1)] }