1.

Consider the values A = 2.0 x 10^30, B =-2.0 x 10^30, C= 1.0, and the sequenceX: = A + B Y: = A + CX: = X + C Y: = Y + B executed on a computer where floating-point numbers are represented with 32 bits. The values for X and Y will be

A. X = 1.0, Y = 1.0
B. X = 1.0, Y = 0.0
C. X = 0.0, Y = 1.0
D. X = 0.0, Y = 0.0
Answer» C. X = 0.0, Y = 1.0


Discussion

No Comment Found