diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-07 02:40:57 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-07 02:40:57 +0000 |
commit | f6d8188c5435100ee4de01f7aca5394e618de7fc (patch) | |
tree | 17c7f9580f233b54e57581b1597b51361867f5f0 /math.c | |
parent | 4cd86dbe9f7701134781562689d1a30d735eb9f2 (diff) |
fix lgamma doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -542,7 +542,7 @@ math_gamma(VALUE obj, VALUE x) * the sign of gamma of x. * * Math.lgamma(x) is same as - * [Math.log(Math.gamma(x)), Math.gamma(x) < 0 ? -1 : 1] + * [Math.log(Math.gamma(x).abs), Math.gamma(x) < 0 ? -1 : 1] * but avoid overflow by Math.gamma(x) for large x. */ |