[src]

Function std::num::exp2

pub fn exp2<T: Float>(value: T) -> T

Returns 2 raised to the power of the number, 2^(value).