The mathLib.ldexp() system function takes as input a multiplier and a power of 2. It returns the value of the multiplier times 2 to the power of the specified exponent.
mathLib.Ldexp(
multiplier FLOAT in,
exponent INT in)
returns (result FLOAT )
result = mathLib.Ldexp(myMultiplier,myExponent);
// result = myMultiplier * 2**myExponent