What are the results for this?

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2008
Posts: 8
Reputation: marcelomdsc is an unknown quantity at this point 
Solved Threads: 0
marcelomdsc marcelomdsc is offline Offline
Newbie Poster

What are the results for this?

 
0
  #1
May 11th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,361
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1464
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is online now Online
Still Learning

Re: What are the results for this?

 
0
  #2
May 11th, 2008
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 8
Reputation: marcelomdsc is an unknown quantity at this point 
Solved Threads: 0
marcelomdsc marcelomdsc is offline Offline
Newbie Poster

Re: What are the results for this?

 
0
  #3
May 11th, 2008
thanks.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC