machine precision and numerical cancellation

3 vues (au cours des 30 derniers jours)
sadek misto kirdi
sadek misto kirdi le 9 Juil 2019
i have a question which is : "let x and y be two machine numbers working with a certain arithmetic with machine precision (mp) then" :
1) x+em=x for all x
2) x> em for all x
3) for all x and y the operation x-y is not affected by numerical cancellation
4) x-y is a machine number for all x and y
I'm torn between the first and the second answer so can someone tell me which one and why please?
thanks
  6 commentaires
David Goodmanson
David Goodmanson le 10 Juil 2019
well, is case 4 asking about the accuracy of x-y?
sadek misto kirdi
sadek misto kirdi le 11 Juil 2019
sorry i didnt understand your question

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by