summaryrefslogtreecommitdiffstats
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
commit3b2f10a705f0ee49c2817963c0cbe01275452103 (patch)
tree00f9b411b8533024c6602769d587ad76eec8cf6a
parent66c3c5c0cc615de95a32574e85cb1cdaa7894378 (diff)
downloadruby-3b2f10a705f0ee49c2817963c0cbe01275452103.tar.gz
ruby-3b2f10a705f0ee49c2817963c0cbe01275452103.tar.xz
ruby-3b2f10a705f0ee49c2817963c0cbe01275452103.zip
update comment.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--math.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math.c b/math.c
index 25914ec65..51caf35c5 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;