* numeric.c (int_pow): make sure to assign the result of x * z.
If xz is optimized out, the value won't overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3b58e17d7b
commit
4e4649e13c
@ -1,3 +1,8 @@
|
||||
Mon May 30 10:26:51 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* numeric.c (int_pow): make sure to assign the result of x * z.
|
||||
If xz is optimized out, the value won't overflow.
|
||||
|
||||
Sun May 29 23:17:29 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* re.c (rb_reg_match): fix rdoc of Regexp#=~.
|
||||
|
Loading…
x
Reference in New Issue
Block a user