The mathLib.frexp() system function splits a number into a normalized fraction in the range of .5 to 1 (which is returned as the result) and a power of 2 (which is returned in exponent).
mathLib.frexp(
numericVariable FLOAT in,
exponent INT out)
returns (result FLOAT)
result = mathLib.frexp(myInput,myExponent);
// myInput = result * 2**myExponent