diff options
Diffstat (limited to 'rational.c')
-rw-r--r-- | rational.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rational.c b/rational.c index 19ec3d1ffe..7427226904 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); |