summaryrefslogtreecommitdiff
path: root/rational.c
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-29 11:33:52 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-29 11:33:52 +0000
commit51e70cae465b09957f67b0df82f0b2d556626ca2 (patch)
tree5b125ffe98c7c4adcce6eca7af3d8549e4549a63 /rational.c
parent2b9df66146001e3672b91ace98aba1cb72d355e4 (diff)
added a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rational.c')
-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);