diff options
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. */ |