summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-02 01:55:02 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-02 01:55:02 +0000
commit9047641ce35be576ea95e31a35202aa8b213d5d8 (patch)
treeb6510c3b9ccc3803a13834afaadebcd9aea30f1e /numeric.c
parentec8de033e7293571bf16e33fe141c627caca5152 (diff)
* numeric.c: Mention that Float::DIG is the minimum number
of siginificant digits. See #9191 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 2a3ebce7c2..d0424c0275 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3988,7 +3988,8 @@ Init_Numeric(void)
*/
rb_define_const(rb_cFloat, "MANT_DIG", INT2FIX(DBL_MANT_DIG));
/*
- * The number of decimal digits in a double-precision floating point.
+ * The minimum number of significant decimal digits in a double-precision
+ * floating point.
*
* Usually defaults to 15.
*/