Function librualg::math::pow[][src]

pub fn pow(value: u64, n: u64) -> u64
Expand description

The function returns the value of x to the power of y.

 use librualg::math::pow;

 assert_eq!(pow(2, 20), 1048576);