summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rational.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rational.c b/rational.c
index 19ec3d1..7427226 100644
--- a/rational.c
+++ b/rational.c
@@ -927,6 +927,7 @@ nurat_expt(VALUE self, VALUE other)
}
case T_BIGNUM:
rb_warn("in a**b, b may be too big");
+ /* fall through */
case T_FLOAT:
case T_RATIONAL:
return rb_fexpt(f_to_f(self), other);