Converting IEEE-754 to Decimal.
For this part, you will need to write a function that has one input argument and one output argument. The input will be a vector of 1s and 0s (either 32 or 64). The output is the decimal number you calculate. The function should verify that the vector is valid, and if so, convert it to a decimal number. If not, you need to indicate that to the user.
Test for the following: