Skip to main content

powm1

Function powm1 

Source
pub fn powm1(x: f64, y: f64) -> f64
Expand description

$x^y - 1$

Accurate when $x^y$ is close to 1, e.g. for $x$ near 1 or small $y$. Returns NaN if $x < 0$ and $y$ is not a finite integer.

Corresponds to scipy.special.powm1.

ยงSee also