<human>:  How can I convert a binary to a float number
<bot>: Here is some code to convert a binary '-0b1110' to a float number

float(int('-0b1110', 0))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.