def METHOD_NAME(raw):
    """The inverse operation of aperture_to_raw_exif"""
    val = raw
    if val < 0:
        val = -val
        sign = -1
    else:
        sign = 1
    frac = val & 0x1F
    val -= frac
    # Convert 1/3 and 2/3 codes
    if frac == 0x0C:
        frac = 0x20 / 3
    elif frac == 0x14:
        frac = 0x40 / 3
    ev = sign * (val + frac) / 0x20
    return math.exp(ev * math.log(2) / 2)