ldexp, ldexpf : load exponent
Synopsis
Section titled “Synopsis”#include <math.h>double ldexp(double val, int exp);float ldexpf(float val, int exp);```### Description
ldexp calculates the value ldexpf is identical, save that it takes and returns float rather than double values.### Returns
ldexp returns the calculated value. Underflow and overflow both set errno to ERANGE. On underflow, ldexp and ldexpf return 0.0. On overflow, ldexp returns plus or minus HUGE_VAL.
---
**Authoritative source**: BUSMASTER DITA help source `ldexp.dita`, compiled into `BUSMASTER.CHM` with the application.