Python ldexp

Python LDEXP Function

The Python ldexp math function is used to return x * (2**i). Python ldexp function also called the inverse of Python frexp function. In this section, we discuss how to use ldexp function in Python with example. Syntax of a Python ldexp Function The syntax of the ldexp Function in Python Programming Language is math.ldexp(x, i); X: Please specify the … Read more