summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-15 20:56:01 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-15 20:56:01 +0000
commit6ae3f0d8e4c29d1718ff7f1575a7a215979e4188 (patch)
tree3396ea719e907bd7d9d9aab8f12c35f7c7b4ef67 /numeric.c
parent1287260819a8e2dc5ca14da4b5e58b110064fe44 (diff)
parent2311cce91f024eb5c4990b97ea80e8447596780f (diff)
sorry. I made wrong tags.v1_8_5_70
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_5_70@12994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 23362a0bf5..fae862ae0a 100644
--- a/numeric.c
+++ b/numeric.c
@@ -2202,7 +2202,6 @@ fix_pow(x, y)
if (b == 0) return INT2FIX(1);
if (b == 1) return x;
a = FIX2LONG(x);
- if (a == 0) return INT2FIX(0);
if (b > 0) {
return rb_big_pow(rb_int2big(a), y);
}