Search Docs
return 2 raised to the power of the parameter
genType exp2(genType x)
x
exp2 returns 2 raised to the power of x. i.e., $$ 2^{x} $$
exp2