<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,7 @@
+Thu May  8 18:44:09 2003  Yukihiro Matsumoto  &lt;matz@ruby-lang.org&gt;
+
+	* gc.c (rb_gc): check odd alignment stack on m68k machines.
+
 Thu May  8 12:56:04 2003  Nobuyoshi Nakada  &lt;nobu.nokada@softhome.net&gt;
 
 	* compar.c (rb_cmperr): raise comparison failure.
@@ -11,10 +15,9 @@ Thu May  8 12:56:04 2003  Nobuyoshi Nakada  &lt;nobu.nokada@softhome.net&gt;
 	* numeric.c (int_upto, int_downto): should fail unless the
 	  argument is comparable.  (ruby-bugs-ja:PR#454)
 
-Wed May  7 01:21:23 2003  Yukihiro Matsumoto  &lt;matz@ruby-lang.org&gt;
+Wed May  7 13:30:11 2003  Masahiro TANAKA  &lt;masa@ir.isas.ac.jp&gt;
 
-	* numeric.c (num_step): remove epsilon; add margin of 0.5, to make
-	  &quot;1.1.step(1.5,0.1)&quot; to work (third try).
+	* numeric.c (num_step): better error treatment of float values.
 
 Tue May  6 17:51:54 2003  Minero Aoki  &lt;aamine@loveruby.net&gt;
 </diff>
      <filename>ChangeLog</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,7 @@
 Language Spec.
 
 - Class#allocate - basicNew
+- class Foo::Bar&lt;Baz .. end, module Boo::Bar .. end
 * operator !! for rescue. ???
 * objectify characters
 * ../... outside condition invokes operator method too.
@@ -11,7 +12,6 @@ Language Spec.
 * multiple return values, yield values.  maybe incompatible ???
 * cascading method invocation ???
 * def Class#method .. end ??
-* class Foo::Bar&lt;Baz .. end, module Boo::Bar .. end
 * def Foo::Bar::baz() .. end ??
 * I18N (or M17N) script/string/regexp
 * Fixnum 0 as false ????
@@ -81,6 +81,8 @@ Standard Libraries
 - hash etc. should handle self referenceing array/hash
 - Array#select(n1,n2...) works like Array#indexes(n1,n2...)
 - use Mersenne Twister RNG for random.
+- deprecate Array#indexes, and Array#indices.
+- remove dependency on MAXPATHLEN.
 * String#scanf(?)
 * Object#fmt(?)
 * Time::strptime
@@ -101,11 +103,10 @@ Standard Libraries
 * marshal should not depend on sprintf (works bad with locale).
 * ternary arg pow: a.pow(b,c) == a**b%c
 * new caller(), e.g. call_stack; needs better name.
-* remove dependency on MAXPATHLEN.
 * pointer share mechanism similar to one in String for Array.
-* deprecate Array#indexes, and Array#indices.
 * require &quot;1.6&quot; etc. by /usr/lib/ruby/1.6/1.6.rb ;-)
 * save both &quot;feature names&quot; and &quot;normalized path&quot; in $&quot;
+* implement Mutex_m (or MutexMixin) using Mutex.
 
 Extension Libraries
 
@@ -116,7 +117,6 @@ Extension Libraries
 
 Ruby Libraries
 
-- add uri.rb
 * urllib.rb, nttplib.rb, etc.
 * format like perl's
 
@@ -124,8 +124,3 @@ Tools
 
 * freeze or undump to bundle everything
 * bundle using zlib
-
-Misc
-
-- publish Ruby books
-- publish Ruby books in English</diff>
      <filename>ToDo</filename>
    </modified>
    <modified>
      <diff>@@ -1228,7 +1228,7 @@ rb_gc()
     setjmp(save_regs_gc_mark);
     mark_locations_array((VALUE*)save_regs_gc_mark, sizeof(save_regs_gc_mark) / sizeof(VALUE *));
     rb_gc_mark_locations(rb_gc_stack_start, (VALUE*)STACK_END);
-#if defined(__human68k__)
+#if defined(__human68k__) || defined(__mc68000__)
     rb_gc_mark_locations((VALUE*)((char*)rb_gc_stack_start + 2),
 			 (VALUE*)((char*)STACK_END + 2));
 #endif</diff>
      <filename>gc.c</filename>
    </modified>
    <modified>
      <diff>@@ -919,13 +919,16 @@ num_step(argc, argv, from)
 	}
     }
     else if (TYPE(from) == T_FLOAT || TYPE(to) == T_FLOAT || TYPE(step) == T_FLOAT) {
+	const double epsilon = DBL_EPSILON;
 	double beg = NUM2DBL(from);
 	double end = NUM2DBL(to);
 	double unit = NUM2DBL(step);
 	double n = (end - beg)/unit;
+	double err = (fabs(beg) + fabs(end) + fabs(end-beg)) / fabs(unit) * epsilon;
 	long i;
 
-	n = n + 0.5;
+	if (err&gt;0.5) err=0.5;
+	n = floor(n + err) + 1;
 	for (i=0; i&lt;n; i++) {
 	    rb_yield(rb_float_new(i*unit+beg));
 	}</diff>
      <filename>numeric.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a6810a3f4da5cfc1aabeb181bb99748e08509ef9</id>
    </parent>
  </parents>
  <author>
    <name>matz</name>
    <email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </author>
  <url>http://github.com/FooBarWidget/rubyenterpriseedition/commit/e09b463c7989a8692e34e012bf172ae30a67de7b</url>
  <id>e09b463c7989a8692e34e012bf172ae30a67de7b</id>
  <committed-date>2003-05-08T02:45:52-07:00</committed-date>
  <authored-date>2003-05-08T02:45:52-07:00</authored-date>
  <message>* gc.c (rb_gc): check odd alignment stack on m68k machines.

* numeric.c (num_step): better error treatment of float values.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e</message>
  <tree>0342b349f479ee241fbf0b04d31b7f1acdef0d64</tree>
  <committer>
    <name>matz</name>
    <email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
  </committer>
</commit>
