aboutsummaryrefslogtreecommitdiff
path: root/shell/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/math.c')
-rw-r--r--shell/math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/math.c b/shell/math.c
index 760645d0f..15c003965 100644
--- a/shell/math.c
+++ b/shell/math.c
@@ -410,7 +410,7 @@ arith_apply(arith_state_t *math_state, operator op, var_or_num_t *numstack, var_
410 return "exponent less than 0"; 410 return "exponent less than 0";
411 c = 1; 411 c = 1;
412 while (--right_side_val >= 0) 412 while (--right_side_val >= 0)
413 c *= rez; 413 c *= rez;
414 rez = c; 414 rez = c;
415 } 415 }
416 else if (right_side_val == 0) 416 else if (right_side_val == 0)