Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* 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
  • Loading branch information...
commit 9047641ce35be576ea95e31a35202aa8b213d5d8 1 parent ec8de03
@marcandre marcandre authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  numeric.c
View
3  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.
*/
Please sign in to comment.
Something went wrong with that request. Please try again.