subject

Basic algebra operations actually breakdown in floating point arithmetic. Take for instance the associativity property of the real numbers under addition were the following would be true,

x+(y+z)=(x+y)+z x, y,z,∈ℝ

But in floating point arithmetic, the equality relation does not necessarily hold. Can you find three floating point numbers such that this equality becomes a strict inequality?
Find an x, y,zxyz such that, x+(y+z)≠(x+y)+z. Return the three floating point numbers in the three variables x, y, and z.

Replace to x, y, and z with your solution
x = 0.0
y = 0.0
z = 0.0

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
question
Computers and Technology, 22.06.2019 20:40
Assume that there is a 4% rate of disk drive failure in a year. a. if all your computer data is stored on a hard disk drive with a copy stored on a second hard disk drive, what is the probability that during a year, you can avoid catastrophe with at least one working drive? b. if copies of all your computer data are stored on three independent hard disk drives, what is the probability that during a year, you can avoid catastrophe with at least one working drive?
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Type the correct answer in the box. spell all words correctly. the managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Someone plzz me which of these defines a social search? a. asking a search engine a question that is answered by a real person on the other sideb. modifying search results based on popularity of a web pagec.modifying search results based on a ranking of a web page
Answers: 2
You know the right answer?
Basic algebra operations actually breakdown in floating point arithmetic. Take for instance the asso...
Questions
question
English, 02.01.2022 14:00
question
Mathematics, 02.01.2022 14:00
question
Mathematics, 02.01.2022 14:00
question
Mathematics, 02.01.2022 14:00
question
Mathematics, 02.01.2022 14:00