long long convert(float n) { long long result = 0; float rem, i = 1, step = 1,c = 2.0; while (n != 0) { rem = fmod(n,c); n /= 2;