import math
var
x: float = 1.5
m: int = 0
n: float = 0.0
n = frexp(x,m)
echo "n: ",n," m: ", m, " check: ", m.float * pow(2,n) # n: 0.75 m: 1 check: 1.681792830507429
If you are wanting to decompose a float into integer based representations, have a look at the toRational() proc in the Rationals module.