[前][次][番号順一覧][スレッド一覧]

ruby-changes:33156

From: marcandre <ko1@a...>
Date: Sun, 2 Mar 2014 10:55:06 +0900 (JST)
Subject: [ruby-changes:33156] marcandRe: r45235 (trunk): * numeric.c: Mention that Float::DIG is the minimum number

marcandre	2014-03-02 10:55:02 +0900 (Sun, 02 Mar 2014)

  New Revision: 45235

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45235

  Log:
    * numeric.c: Mention that Float::DIG is the minimum number
      of siginificant digits. See #9191

  Modified files:
    trunk/numeric.c
Index: numeric.c
===================================================================
--- numeric.c	(revision 45234)
+++ numeric.c	(revision 45235)
@@ -3988,7 +3988,8 @@ Init_Numeric(void) https://github.com/ruby/ruby/blob/trunk/numeric.c#L3988
      */
     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.
      */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]