Hi I'm not really sure how to solve this, if a system supports ten digits of precision for floating-point numbers, what are the results for the following computations?
a. 1.4E+12 + 100.0
b. 4.2E-8 + 100.0
c. 3.2E-5 + 3.2E+5
Thank You.
This is a discussion on What are the results for these? within the C++ Programming forums, part of the General Programming Boards category; Hi I'm not really sure how to solve this, if a system supports ten digits of precision for floating-point numbers, ...
Hi I'm not really sure how to solve this, if a system supports ten digits of precision for floating-point numbers, what are the results for the following computations?
a. 1.4E+12 + 100.0
b. 4.2E-8 + 100.0
c. 3.2E-5 + 3.2E+5
Thank You.
http://www.daniweb.com/forums/thread123727.html
Don't spam the same homework all over the web.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.