Bitmap.Utils
SourceSummary
pow(x, n) | Binary exponentiation to support large integers which :math.pow can’t since it returns floats |
Functions
Binary exponentiation to support large integers which :math.pow can’t since it returns floats
Examples
iex> Bitmap.Utils.pow(2, 10)
1024
iex> Bitmap.Utils.pow(2, 9)
512