User Tools

Site Tools


gibson:teaching:fall-2016:math753:hw1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gibson:teaching:fall-2016:math753:hw1 [2016/09/15 08:07]
gibson
gibson:teaching:fall-2016:math753:hw1 [2016/09/15 08:07] (current)
gibson
Line 24: Line 24:
 **Problem 6:** This one's proving challenging for people. Some hints: **Problem 6:** This one's proving challenging for people. Some hints:
  
-How many of the 7s will survive when ``x = 4778 + 3.77777e-10''​ is computed in 16 digits? Same for ''​y''​. ​+How many of the 7s will survive when ''​x = 4778 + 3.77777e-10''​ is computed in 16 digits? Same for ''​y''​. ​
 Once you have those rounded numbers, how many significant digits will survive in the floating=point computations $x+y$, $x-y$, etc.? If you can't figure this out, go ahead and do the computations in 64 bits and see if you can explain the answers you get. Once you have those rounded numbers, how many significant digits will survive in the floating=point computations $x+y$, $x-y$, etc.? If you can't figure this out, go ahead and do the computations in 64 bits and see if you can explain the answers you get.
  
-If you want to compare the 64-bit calculations to something more accurate, use Julia'​s 256-bit ''​BigFloat''​ type. There are two ways to get ''​BigFloat''​s+If you want to compare the 64-bit calculations to something more accurate, use Julia'​s 256-bit ''​BigFloat''​ type. There are two ways to get ''​BigFloat''​.
  
 <​code>​ <​code>​
gibson/teaching/fall-2016/math753/hw1.1473952034.txt.gz ยท Last modified: 2016/09/15 08:07 by gibson