def signed_to_float(hex: str) ->float:
    """Convert signed hexadecimal to floating value."""
    if int(hex, 16) & 32768:
        return -(int(hex, 16) & 32767) / 10
    else:
        return int(hex, 16) / 10
