diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-08 22:43:47 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-08 22:43:47 +0000 |
commit | c66f5601d7ab3b048bb4ee5d2f2baed2ed612fa4 (patch) | |
tree | d238e5d864c49b1761e97c3f9fa80ad335f36115 /bignum.c | |
parent | 67d9cd737e99e5bea614f4fce012f9a8e739cdd7 (diff) |
bignum.c: [DOC] simplify comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |