Factorized float to uint and co function code.
Fixed ldexp and frexp implementations