Purpose:
The prelab is intended to provide practice for dealing with the way computers represent floating point numbers.LAB:1.) Convert 0x7237176E from binary FP to decimal.
2.) Compute the following sums (convert to binary FP and perform sums):
x = -3.7*2^30 y = 3.7*2^30 z = 1.0
a.) x + (y + z)
b.) (x + y) + z
Task 1: Precision
A = 55555555555555555555552523523523525555.1305197613051976; B = -55555555555555555555252352523525555555.1305197613051976;
When you have done this, do the same for negative infinity.
Write a short C program to prove that addition is not associative for floating point.
Last but not least, try to print the value of F as an integer. What is goin' on?