123456789101112131415161718192021222324252627282930313233343536373839 |
- #include "math.h"
- #include "math_private.h"
- #include <errno.h>
- double ldexp(double value, int _exp)
- {
- if (!isfinite(value) || value == 0.0)
- return value;
- value = scalbn(value, _exp);
- if (!isfinite(value) || value == 0.0)
- errno = ERANGE;
- return value;
- }
- libm_hidden_def(ldexp)
|