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:
parent
67d9cd737e
commit
c66f5601d7
1 changed files with 2 additions and 2 deletions
4
bignum.c
4
bignum.c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue