akshitagit / CPP

Repository for C++/C codes and algos.
https://github.com/akshitagupta15june
MIT License
495 stars 434 forks source link

added cpp code for fast exponent calculation #672

Closed skgx closed 2 years ago

skgx commented 2 years ago

this technique uses bit manipulation for calculation large powers