pub fn powi(base: f64, times: i32) -> f64
Integer power by squaring. Matches LIBSVM’s powi(base, times).
powi(base, times)
For negative times, returns 1.0 (same as the C code, which only iterates while t > 0).
times
t > 0