0
answers
0
watching
62
views
13 Dec 2019
For any real number r, let fl(r) denote the double precision representation of r in the IEEE floating point
standard. The following should illustrate that with limited precision, the laws of arithmetic do not hold.
A) Give an example of rational numbers x; y; z such that fl(fl(x + y) + z) 6= fl(x + fl(y + z)).
B) Give an example of a rational number x > 0 such that fl(x â fl(1=x)) 6= fl(1).
C) Give an example of rational numbers x; y; z such that fl(fl(x â y) â z) 6= fl(x â fl(y â z))
For any real number r, let fl(r) denote the double precision representation of r in the IEEE floating point
standard. The following should illustrate that with limited precision, the laws of arithmetic do not hold.
A) Give an example of rational numbers x; y; z such that fl(fl(x + y) + z) 6= fl(x + fl(y + z)).
B) Give an example of a rational number x > 0 such that fl(x â fl(1=x)) 6= fl(1).
C) Give an example of rational numbers x; y; z such that fl(fl(x â y) â z) 6= fl(x â fl(y â z))
0
answers
0
watching
62
views
For unlimited access to Homework Help, a Homework+ subscription is required.
Related textbook solutions
Basic Chemistry
5 Edition,
Timberlake
ISBN: 9780134138046
Principles of Chemistry Molecular Approach
4th Edition,
Tro
ISBN: 9780134112831
Chemistry: Structure and Properties
2nd Edition,
Tro
ISBN: 9780134293936
Principles of Chemistry Molecular Approach
3rd Edition, 2014
Tro
ISBN: 9780321971944
Chemistry: A Molecular Approach
3rd Edition,
Tro
ISBN: 9780321809247
Chemistry: A Molecular Approach
5th Edition,
Tro
ISBN: 9780134874371
Principles of Chemistry: A Molecular Approach
4th Edition,
Tro
ISBN: 9780134895741
Chemistry: The Central Science
14th Edition, 2017
Brown
ISBN: 9780134414232