Question: Write a program C or MIPS to prove that for (single precision) floating points a+(b+c) does not necessarily = (a+b)+c (you should be able to

Write a program C or MIPS to prove that for (single precision) floating points a+(b+c) does not necessarily = (a+b)+c (you should be able to do this with a = 0.1, b = 0.2, c=0.3). You may need to try values like 0.000000001, 0.00000002 etc.)..

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!