◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The ldexp function calculates and returns the value of <x>*2^<exp>. The _ldexpl function uses the 80-bit long double form of arguments and return values. In all other respects, it is identical to ldexp. Return Value The return value is noted above. If an overflow results, ldexp returns ±HUGE_VAL and _ldexpl returns ±_LHUGE_VAL, depending on the sign of <x>. Both functions set errno to ERANGE. -♦-