# (Solved) : Deme Following Expressions Either Argue True Argument Values Explain True X Int Float X X Q41334244 . . .

\$9.00

please le me know those questions(5~10) are true orfalse?

ÜHE DEME For each of the following expressions, either: – Argue that it is true for all argument values – Explain why not true . x == (int) (float) x • x == (int) (double) x • f == (float) (double) f int x = …; float f = …; • d == (double) (float) d double d = …; • f == -(-f); • 2/3 == 2/3.0 Assume neither d nor f is NaN • d < 0.0 + ((d*2) < 0.0) . d > f — -f > -d . d * d >= 0.0 • (d+f)-d == f ÜHE DEME For each of the following expressions, either: – Argue that it is true for all argument values – Explain why not true . x == (int) (float) x • x == (int) (double) x • f == (float) (double) f int x = …; float f = …; • d == (double) (float) d double d = …; • f == -(-f); • 2/3 == 2/3.0 Assume neither d nor f is NaN • d < 0.0 + ((d*2) < 0.0) . d > f — -f > -d . d * d >= 0.0 • (d+f)-d == f Show transcribed image text ÜHE DEME For each of the following expressions, either: – Argue that it is true for all argument values – Explain why not true . x == (int) (float) x • x == (int) (double) x • f == (float) (double) f int x = …; float f = …; • d == (double) (float) d double d = …; • f == -(-f); • 2/3 == 2/3.0 Assume neither d nor f is NaN • d -d . d * d >= 0.0 • (d+f)-d == f
ÜHE DEME For each of the following expressions, either: – Argue that it is true for all argument values – Explain why not true . x == (int) (float) x • x == (int) (double) x • f == (float) (double) f int x = …; float f = …; • d == (double) (float) d double d = …; • f == -(-f); • 2/3 == 2/3.0 Assume neither d nor f is NaN • d -d . d * d >= 0.0 • (d+f)-d == f