Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

fast_power

Fast power algorithm

Fully qualified path: alexandria_math::fast_power

Free functions

fast_powerCalculate the base ^ power using the fast powering algorithm…
fast_power_modCalculate the ( base ^ power ) mod modulus using the fast powering algorithm…