librualg::math
pub fn pow(value: u64, n: u64) -> u64
The function returns the value of x to the power of y.
use librualg::math::pow; assert_eq!(pow(2, 20), 1048576);