ruby-changes:4325
From: ko1@a...
Date: Fri, 21 Mar 2008 01:42:56 +0900 (JST)
Subject: [ruby-changes:4325] mame - Ruby:r15815 (trunk): * complex.c (nucomp_sub, nucomp_expt): call corresponding functions.
mame 2008-03-21 01:41:51 +0900 (Fri, 21 Mar 2008)
New Revision: 15815
Modified files:
trunk/ChangeLog
trunk/complex.c
trunk/version.h
Log:
* complex.c (nucomp_sub, nucomp_expt): call corresponding functions.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/version.h?r1=15815&r2=15814&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/complex.c?r1=15815&r2=15814&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15815&r2=15814&diff_format=u
Index: complex.c
===================================================================
--- complex.c (revision 15814)
+++ complex.c (revision 15815)
@@ -753,7 +753,7 @@
default:
{
VALUE a = f_coerce(other, self);
- return f_add(RARRAY_PTR(a)[0], RARRAY_PTR(a)[1]);
+ return f_sub(RARRAY_PTR(a)[0], RARRAY_PTR(a)[1]);
}
}
}
@@ -909,7 +909,7 @@
default:
{
VALUE a = f_coerce(other, self);
- return f_div(RARRAY_PTR(a)[0], RARRAY_PTR(a)[1]);
+ return f_expt(RARRAY_PTR(a)[0], RARRAY_PTR(a)[1]);
}
}
}
Index: ChangeLog
===================================================================
--- ChangeLog (revision 15814)
+++ ChangeLog (revision 15815)
@@ -1,3 +1,7 @@
+Fri Mar 21 01:40:27 2008 Yusuke Endoh <mame@t...>
+
+ * complex.c (nucomp_sub, nucomp_expt): call corresponding functions.
+
Fri Mar 21 01:21:43 2008 Yusuke Endoh <mame@t...>
* missing/tgamma.c: include config.h before math.h. [ruby-dev:34075]
Index: version.h
===================================================================
--- version.h (revision 15814)
+++ version.h (revision 15815)
@@ -1,7 +1,7 @@
#define RUBY_VERSION "1.9.0"
-#define RUBY_RELEASE_DATE "2008-03-20"
+#define RUBY_RELEASE_DATE "2008-03-21"
#define RUBY_VERSION_CODE 190
-#define RUBY_RELEASE_CODE 20080320
+#define RUBY_RELEASE_CODE 20080321
#define RUBY_PATCHLEVEL 0
#define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2008
#define RUBY_RELEASE_MONTH 3
-#define RUBY_RELEASE_DAY 20
+#define RUBY_RELEASE_DAY 21
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/