ruby-changes:23215
From: tadf <ko1@a...>
Date: Mon, 9 Apr 2012 07:00:42 +0900 (JST)
Subject: [ruby-changes:23215] tadf:r35265 (trunk): * complex.c (nucomp_expt): .
tadf 2012-04-09 07:00:32 +0900 (Mon, 09 Apr 2012) New Revision: 35265 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35265 Log: * complex.c (nucomp_expt): [ruby-core:44170]. Modified files: trunk/ChangeLog trunk/complex.c Index: complex.c =================================================================== --- complex.c (revision 35264) +++ complex.c (revision 35265) @@ -896,10 +896,7 @@ z = f_mul(z, x); n--; } - { - get_dat1(z); - return f_complex_new2(CLASS_OF(self), dat->real, dat->imag); - } + return z; } return f_expt(f_reciprocal(self), f_negate(other)); } Index: ChangeLog =================================================================== --- ChangeLog (revision 35264) +++ ChangeLog (revision 35265) @@ -1,3 +1,7 @@ +Mon Apr 9 06:58:01 2012 Tadayoshi Funaba <tadf@d...> + + * complex.c (nucomp_expt): [ruby-core:44170]. + Mon Apr 9 02:52:03 2012 NARUSE, Yui <naruse@r...> * complex.c (nucomp_expt): the result of f_complex_new2 may be a fixnum -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/