Skip to main content

powi

Function powi 

Source
pub fn powi<T: Dispatch>(a: T, x: i32) -> T
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Raises a floating-point value to an integer power.

The stabilized versions of this intrinsic are available on the float primitives via the powi method. For example, f32::powi.