Function numbers_rus::integers::base::base::power

source ·
pub fn power(left: i128, right: i128) -> i128
Expand description

power function: Takes in two i128 integers left and right as input and returns left raised to the power of right as an i128 integer. Only supports non-negative exponent values. Panics if the exponent is negative.