def signed_to_float(hex: str) -> float:
if int(hex, <NUM_LIT:16>) & <NUM_LIT>:<EOL><INDENT>return -(int(hex, <NUM_LIT:16>) & <NUM_LIT>) / <NUM_LIT:10><EOL><DEDENT>else:<EOL><INDENT>return int(hex, <NUM_LIT:16>) / <NUM_LIT:10><EOL><DEDENT>
Convert signed hexadecimal to floating value.