diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-17 13:24:53 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-17 13:24:53 +0000 |
commit | 10b7e0e4adc7c2beb13b30a53ac2bdc03ab50d22 (patch) | |
tree | 5099a13acf497c0483b887ffa4e24465fc9c5d45 /math.c | |
parent | 85bf0a2eb62e17640644c42c5d37dee90a75ad29 (diff) | |
download | ruby-10b7e0e4adc7c2beb13b30a53ac2bdc03ab50d22.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)] } |