Question: write code in python float_to_IEEE754_rep(float_number): Takes the floating point number as an input and generates the IEEE 754 representation. >>> def IEEE754_rep (float_number): ** Call
write code in python

float_to_IEEE754_rep(float_number): Takes the floating point number as an input and generates the IEEE 754 representation. >>> def IEEE754_rep (float_number): ** Call the methods in proper order to calculate the IEEE 754 representation as a string ** >>> IEEE 754_rep (85.125): The IEEE 754 single precision for 85.125 is : 0-10000101-01010100 100000000000000 You should also implement the reverse operation i.e. given a binary number in IEEE 754 format it should be able to convert to a floating-point number. In this case, make sure that your top-level function name is ieee_754_to_float. >>> def ieee_754_to_float (n): ** Your Code ** >>> ieee_754_to_float('01000010101010100100000000000000') The float number for the given binary is 85.125
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
