mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
Update math/binary_exponentiation.c
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
This commit is contained in:
parent
bc702a4d59
commit
2d5cae8b6e
@ -8,10 +8,10 @@
|
|||||||
* @author [Praneeth Jain](https://github.com/PraneethJain)
|
* @author [Praneeth Jain](https://github.com/PraneethJain)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <assert.h> // for assert()
|
#include <assert.h> /// for assert()
|
||||||
#include <stdint.h> // for int64 types
|
#include <stdint.h> /// for int64 types
|
||||||
#include <stdio.h> // for output
|
#include <stdio.h> /// for output
|
||||||
#include <stdlib.h> // for exit()
|
#include <stdlib.h> /// for exit()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Determines a raised to the nth power via binary exponentiation.
|
* @brief Determines a raised to the nth power via binary exponentiation.
|
||||||
|
Loading…
Reference in New Issue
Block a user