1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
marcandre 2014-03-02 01:55:02 +00:00
parent ec8de033e7
commit 9047641ce3

View file

@ -3988,7 +3988,8 @@ Init_Numeric(void)
*/ */
rb_define_const(rb_cFloat, "MANT_DIG", INT2FIX(DBL_MANT_DIG)); 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. * Usually defaults to 15.
*/ */