Flowdock
method

pow

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Integer
pow(*args) public

Returns (modular) exponentiation as:

a.pow(b)     #=> same as a**b
a.pow(b, m)  #=> same as (a**b) % m, but avoids huge temporary values
Show source
Register or log in to add new notes.