EasyManua.ls Logo

Texas Instruments TMS34010

Texas Instruments TMS34010
181 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Idexp
Syntax
#include
<math.h>
double
ldexp(x,
exp)
double
Xi
int
eXPi
Multiply
by
a
Power
of
Two
Defined
in
'ldexp.
obj
in
rts
.lib
Description
The Idexp function multiplies a floating-point number by a power
of
2 and
returns X x 2
ex
P.
exp
can
be
a negative or a positive value. A range error
may occur
if
the result
is
too large.
Exan1ple
double
result;
6-44
result
=
ldexp(l.5,
5);
/*
result
is
48.0
*/
result
=
ldexp(6.0,
-3);
/*
result
is
0.75
*/

Table of Contents

Other manuals for Texas Instruments TMS34010

Related product manuals