EasyManua.ls Logo

Texas Instruments TMS34010 - Page 106

Texas Instruments TMS34010
128 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...
-FP-DTOU
Input(s)
Output(s)
Action
Description
Errors
Example
Doubleto
Unsigned
Integer
-FP-DTOU
double
unsigned int
double
.....
unsigned
int
This function converts a double-precision
floating-point
number to
an
un-
signed
32-bit
integer format.
Conversion Error (error code
# =
1)
The conversion error
is
generated
only
when the value V
of
the double
precision number
DI1
(after truncation)
is
too
big
to
be faithfully repres-
ented in the signed
32-bit
binary integer format.
The
following
is
an
example
of
C code
which
would
generate a call
to
-FP-DTOU.
main(
)
(
double
a;
unsigned
j ;
j = a
}
/*
declare
one
double-
*/
/*
precision
floating-
point
number
and
one
integer
*/
/*
end
of
main
*/
0-15

Table of Contents

Other manuals for Texas Instruments TMS34010

Related product manuals