aboutsummaryrefslogtreecommitdiffstats
path: root/bignum.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-08 22:43:47 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-08 22:43:47 +0000
commitc66f5601d7ab3b048bb4ee5d2f2baed2ed612fa4 (patch)
treed238e5d864c49b1761e97c3f9fa80ad335f36115 /bignum.c
parent67d9cd737e99e5bea614f4fce012f9a8e739cdd7 (diff)
downloadruby-c66f5601d7ab3b048bb4ee5d2f2baed2ed612fa4.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bignum.c b/bignum.c
index 291ed96f01..148276743f 100644
--- a/bignum.c
+++ b/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)