Question: Task 1 : Write a function that converts a floating - point number to a string. This string is the binary representation of the floating
Task :
Write a function that converts a floatingpoint number to a string. This string is the binary
representation of the floatingpoint number.
Example:
Given float as input the function returns the following string:
The sign bit is highlighted in yellow. The exponent is highlighted in red, and the significand is
highlighted in green
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
