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

ruby-changes:39544

From: nagachika <ko1@a...>
Date: Tue, 18 Aug 2015 20:17:53 +0900 (JST)
Subject: [ruby-changes:39544] nagachika:r51625 (ruby_2_2): merge revision(s) 51534:

nagachika	2015-08-18 20:17:43 +0900 (Tue, 18 Aug 2015)

  New Revision: 51625

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

  Log:
    merge revision(s) 51534:
    
    * numeric.c (Init_Numeric): Fix document for Float::MIN and
      Float::EPSILON.

  Modified directories:
    branches/ruby_2_2/
  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/numeric.c
    branches/ruby_2_2/version.h
Index: ruby_2_2/ChangeLog
===================================================================
--- ruby_2_2/ChangeLog	(revision 51624)
+++ ruby_2_2/ChangeLog	(revision 51625)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/ChangeLog#L1
+Tue Aug 18 20:10:13 2015  Tanaka Akira  <akr@f...>
+
+	* numeric.c (Init_Numeric): Fix document for Float::MIN and
+	  Float::EPSILON.
+
 Mon Aug 17 23:07:47 2015  SHIBATA Hiroshi  <hsbt@r...>
 
 	* lib/rubygems.rb: bump version to 2.4.5.1. this version fixed
Index: ruby_2_2/numeric.c
===================================================================
--- ruby_2_2/numeric.c	(revision 51624)
+++ ruby_2_2/numeric.c	(revision 51625)
@@ -4179,9 +4179,14 @@ Init_Numeric(void) https://github.com/ruby/ruby/blob/trunk/ruby_2_2/numeric.c#L4179
      */
     rb_define_const(rb_cFloat, "MAX_10_EXP", INT2FIX(DBL_MAX_10_EXP));
     /*
-     *	The smallest positive integer in a double-precision floating point.
+     *	The smallest positive normalized number in a double-precision floating point.
      *
      *	Usually defaults to 2.2250738585072014e-308.
+     *
+     *	If the platform supports denormalized numbers,
+     *	there are numbers between zero and Float::MIN.
+     *	0.0.next_float returns the smallest positive floating point number
+     *	including denormalized numbers.
      */
     rb_define_const(rb_cFloat, "MIN", DBL2NUM(DBL_MIN));
     /*
@@ -4192,7 +4197,7 @@ Init_Numeric(void) https://github.com/ruby/ruby/blob/trunk/ruby_2_2/numeric.c#L4197
     rb_define_const(rb_cFloat, "MAX", DBL2NUM(DBL_MAX));
     /*
      *	The difference between 1 and the smallest double-precision floating
-     *	point number.
+     *	point number greater than 1.
      *
      *	Usually defaults to 2.2204460492503131e-16.
      */
Index: ruby_2_2/version.h
===================================================================
--- ruby_2_2/version.h	(revision 51624)
+++ ruby_2_2/version.h	(revision 51625)
@@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/version.h#L1
 #define RUBY_VERSION "2.2.3"
-#define RUBY_RELEASE_DATE "2015-08-17"
-#define RUBY_PATCHLEVEL 171
+#define RUBY_RELEASE_DATE "2015-08-18"
+#define RUBY_PATCHLEVEL 172
 
 #define RUBY_RELEASE_YEAR 2015
 #define RUBY_RELEASE_MONTH 8
-#define RUBY_RELEASE_DAY 17
+#define RUBY_RELEASE_DAY 18
 
 #include "ruby/version.h"
 

Property changes on: ruby_2_2
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r51534


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

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