1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

bignum.c: [DOC] simplify comment

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
stomar 2017-12-08 22:43:47 +00:00
parent 67d9cd737e
commit c66f5601d7

View file

@ -7033,8 +7033,8 @@ int_pow_tmp2(VALUE x, VALUE y, long mm, int nega_flg)
*
* Returns (modular) exponentiation as:
*
* a.pow(b) #=> same as a**b
* a.pow(b, m) #=> same as (a**b) % m, but doesn't make huge values as temporary
* a.pow(b) #=> same as a**b
* a.pow(b, m) #=> same as (a**b) % m, but avoids huge temporary values
*/
VALUE
rb_int_powm(int const argc, VALUE * const argv, VALUE const num)