1.

What is the value of x if x = math.ldexp(0.5, 1)?(a) 1(b) 2.0(c) 0.5(d) none of the mentioned

Answer» Correct choice is (d) none of the mentioned

Best explanation: The value returned by ldexp(x, y) is x * (2 ** y). In the current case x is 1.0.


Discussion

No Comment Found