Skip to main content

pow

Function pow 

Source
pub fn pow<F: Float>(x: F, y: F) -> F
Expand description

x^y. Special values follow IEEE 754’s pow: x^0 and 1^y are 1, even for NaN, and a negative x has a power only for a whole y.