QQ1. Write a program in C that accepts a decimal number and displays its floating-point equivalent number. You may make assumptions to simplify the program, however, your representation of floating point number should be closer to IEEE 754 standard 32 bit representation.
- IEEE 754 standard defines common floating-point number representation.
- 32-bit format uses 1 Sign, 8 Exponent, 23 Mantissa bits.
- Sign bit: 0 for positive, 1 for negative numbers.
- Exponent is biased (actual exponent + 127) for representation.
Answer: Floating-point numbers are essential in computer-oriented numerical techniques for representing real numbers, including fractional values, with a trade-off between range and precision. The IEEE 754 standard is the most widely adopted technical standard for floating-point computation, ensuring consistency across different computer systems. This standard defines formats for representing floating-point numbers, including the commonly used 32-bit (single-precision) format. In the IEEE 754 32-bit s...