Re: Converting an int to float without the libraries.
Not very hard to do. The floating point format is binary, not decimal, so you need to divide by 10 first, which is easy to do through multiplying by a coefficient, say by 1024*0.1 = 102. Then you keep shifting left until bit 24 becomes one, adjusting the exponent by one for every shift. Then you clear bit 24 and pack the exponent into bits 23-30.
You can steal the code from any floating point emulation library. You do not need the whole library for that.