summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-05 00:40:13 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-05 00:40:13 +0000
commit78a54607b6cc856e43099d3d8c92a78382d4192b (patch)
tree00f9b411b8533024c6602769d587ad76eec8cf6a /math.c
parent7b9024f74055febffbe3bc8741e086b7a35b86c7 (diff)
update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r--math.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math.c b/math.c
index 25914ec653..51caf35c5d 100644
--- a/math.c
+++ b/math.c
@@ -661,7 +661,8 @@ math_gamma(VALUE obj, VALUE x)
/* fact(21) */ 51090942171709440000.0,
/* fact(22) */ 1124000727777607680000.0,
/* fact(23)=25852016738884976640000 needs 56bit mantissa which is
- * impossible to represent exactly in IEEE 754 double. */
+ * impossible to represent exactly in IEEE 754 double which have
+ * 53bit mantissa. */
};
double d0, d;
double intpart, fracpart;