Please enable JavaScript.
Coggle requires JavaScript to display documents.
cs417 hw2, double z = x + y, hw2, x(star) * y(star) -> relative error…
cs417 hw2
error
given finite number of mantissa bits and exponent bits, what is the smallest(nonzero) and largest number i can get
given finite number of mantissa bits and exponent bits, what is the smallest and largest magnitude i can get
if i store anumber in a computer, what is the error i am encountering?
-
-
-
-
-
-
double z = x + y
-
assumptions
-
assumptions:
- error originate on the operants(e.g. x,y)
- arithmetic operations are performed perfectly
2.when i am performing addition, i have infinite precision while im performing the addition operation, and introduce no additional error
error only applies to the numbers themselves, addition, subtraction, multiplication, division introduce no additional error
-
-
-
x(star) * y(star) -> relative error of abs[epsilonx+epsilony]
under the assumption that mutliplication has no error
-