Skip to content

Commit

Permalink
* numeric.c: Mention that Float::DIG is the minimum number
Browse files Browse the repository at this point in the history
  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
marcandre committed Mar 2, 2014
1 parent ec8de03 commit 9047641
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numeric.c
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 9047641

Please sign in to comment.