added iq31 to float function