mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b4bbfe4bb9
commit
e7fdfefd5c
1 changed files with 2 additions and 2 deletions
|
@ -903,7 +903,7 @@ rb_complex_pow(VALUE self, VALUE other)
|
|||
if (FIXNUM_P(other)) {
|
||||
long n = FIX2LONG(other);
|
||||
if (n == 0) {
|
||||
return nucomp_s_new_internal(CLASS_OF(self), ONE, ZERO);
|
||||
return nucomp_s_new_internal(CLASS_OF(self), ONE, ZERO);
|
||||
}
|
||||
if (n < 0) {
|
||||
self = f_reciprocal(self);
|
||||
|
@ -938,7 +938,7 @@ rb_complex_pow(VALUE self, VALUE other)
|
|||
comp_mul(zr, zi, xr, xi, &zr, &zi);
|
||||
}
|
||||
}
|
||||
return nucomp_s_new_internal(CLASS_OF(self), zr, zi);
|
||||
return nucomp_s_new_internal(CLASS_OF(self), zr, zi);
|
||||
}
|
||||
}
|
||||
if (k_numeric_p(other) && f_real_p(other)) {
|
||||
|
|
Loading…
Reference in a new issue