Template Function TRAP::Math::Exp2(Vec<L, T>)#

Function Documentation#

template<u32 L, typename T>
Vec<L, T> TRAP::Math::Exp2(Vec<L, T> x)#

Retrieve 2 raised to the power of the parameter.

Exp2 function is defined for input values of x defined in the range (inf-, inf+) in the limit of the type qualifier.

Parameters:

x – Specify the value of the power to which 2 will be raised.

Returns:

2 raised to the x power.