ruby-changes:48885
From: mrkn <ko1@a...>
Date: Mon, 4 Dec 2017 11:35:47 +0900 (JST)
Subject: [ruby-changes:48885] mrkn:r61004 (trunk): NEWS: add Integer#pow(b, m)
mrkn 2017-12-04 11:35:41 +0900 (Mon, 04 Dec 2017) New Revision: 61004 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61004 Log: NEWS: add Integer#pow(b, m) Modified files: trunk/NEWS Index: NEWS =================================================================== --- NEWS (revision 61003) +++ NEWS (revision 61004) @@ -72,6 +72,8 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L72 a step value which cannot be compared with #> to 0. [Feature #7688] * Integer#{round,floor,ceil,truncate} now always return an Integer. [Bug #13420] + * Integer#pow now has an optional modulo argument for calculating modular + exponentiation. [Feature #12508] [Feature #11003] * Kernel -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/