Question: Develop a plan to design and finally implement a set of functions using C++ that would implement the IEEE standard. Phase 1 will include the
Develop a plan to design and finally implement a set of functions using C++ that would implement the IEEE standard. Phase 1 will include the description of the IEEE 754 (single, double) and a complete description of the functions implemented including: 1. Functions type void, or any data returning function
2. Type of data passed in to the functions (function parameters or arguments)
3. Type of function parameters (value or reference).
4. Global variables if needed.
5. IEEE 754 single precision layout and its individual parts (sign, exponent, and mantissa) details.
6. IEEE 754 double precision layout and its individual parts (sign, exponent, and mantissa) details.
7. The hexadecimal layout of both precision.
8. Work out a full example from A to Z.
SUGGESTED FUNCTIONS PLAN: MENU To display the user options SPLITTER To split the number to whole and fractionetc. WHOLECONVERTER Whole Part binary converter etc. FRACTIONCONVERTER Fraction Part binary converter etc. CONCATENATOR Concatenate etc. STANDARDIZER Normalizes the binary number to standard form etc. DISPLAY Display the result etc.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
