Function librapid::exp2(const mpfr&)#

Function Documentation#

mpfr librapid::exp2(const mpfr &val)#

Raise 2 to the power of a multiprecision floating point value: \( 2^x \)

Parameters

val – The value to raise 2 to the power of

Returns

2 raised to the power of the value