Function std::float::pow_with_uint

pub fn pow_with_uint(base: uint, pow: uint) -> float

Compute the exponentiation of an integer by another integer as a float

Arguments

Return value

NaN if both x and pow are 0u, otherwise x^pow