added a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2b9df66146
commit
51e70cae46
@ -927,6 +927,7 @@ nurat_expt(VALUE self, VALUE other)
|
|||||||
}
|
}
|
||||||
case T_BIGNUM:
|
case T_BIGNUM:
|
||||||
rb_warn("in a**b, b may be too big");
|
rb_warn("in a**b, b may be too big");
|
||||||
|
/* fall through */
|
||||||
case T_FLOAT:
|
case T_FLOAT:
|
||||||
case T_RATIONAL:
|
case T_RATIONAL:
|
||||||
return rb_fexpt(f_to_f(self), other);
|
return rb_fexpt(f_to_f(self), other);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user