summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
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)