Skip to main content

exp2

Function exp2 

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

Returns 2 raised to the power of a floating-point value.

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