diff options
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3892,6 +3892,7 @@ int_pow(long x, unsigned long y) int neg = x < 0; long z = 1; + if (y == 0) return INT2FIX(1); if (neg) x = -x; if (y & 1) z = x; |