Manpage of LDEXP
LDEXP
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
1.20 `ldexp', `ldexpf'--load exponent
SYNOPSIS
#include <math.h>
double ldexp(double VAL, int EXP);
float ldexpf(float VAL, int EXP);
DESCRIPTION
`ldexp' calculates the value VAL times 2 to the power EXP. `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'.
PORTABILITY
`ldexp' is ANSI, `ldexpf' is an extension.
SEE ALSO
ldexp
is part of the
libm
library.
The full documentation for
libm
is maintained as a Texinfo manual. If
info
and
libm
are properly installed at your site, the command
-
info libm
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:23 GMT, May 16, 2005
www.fiveanddime.net