From 9047641ce35be576ea95e31a35202aa8b213d5d8 Mon Sep 17 00:00:00 2001 From: marcandre Date: Sun, 2 Mar 2014 01:55:02 +0000 Subject: [PATCH] * 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 --- numeric.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. */