mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue