def from_man_exp(man, exp, prec=None, rnd=round_fast):
    man = MPZ(man)
    sign = 0
    if man < 0:
        sign = 1
        man = -man
    if man < 1024:
        bc = bctable[int(man)]
    else:
        bc = bitcount(man)
    if not prec:
        if not man:
            return fzero
        if not man & 1:
            if man & 2:
                return (sign, man >> 1, exp + 1, bc - 1)
            t = trailtable[int(man & 255)]
            if not t:
                while not man & 255:
                    man >>= 8
                    exp += 8
                    bc -= 8
                t = trailtable[int(man & 255)]
            man >>= t
            exp += t
            bc -= t
        return (sign, man, exp, bc)
    return normalize(sign, man, exp, bc, prec, rnd)
Selects the VM with the minimum RAM and maximum CPU usage.
dataset/ETHPy150Open fredrik-johansson/mpmath/mpmath/libmp/libmpf.py/from_man_exp--crossover with--dataset/ETHPy150Open beloglazov/openstack-neat/neat/locals/vm_selection/algorithms.py/minimum_migration_time_max_cpu