Python ldexp

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