EasyManua.ls Logo

Texas Instruments TMS34010 - Page 111

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-INCR
Double
Precision
Increment
-FP-INCR
Input(s)
double1
Output(s)
double1,
double2
Action
double1 + 1
-+
double2
Description
This function takes a double-precision
floating-point
number
andincre-
ments
it
by
one. The original
input
is
not
popped
off
the stack
but
is
left
untouched
as
the second item on the stack. The result
is
at the
top
of
the
program stack after execution
of
this function.
Errors None.
Example
0-20
There
are
no errors generated in -
FP
-INCR
because the
function
merely
pushes a double-precision
floating-point
number
onto
the program stack
and
calls
-FP-ADD.
Errors
are
therefore detected
as
in
-FP-ADD.
This example
of
C code generates a call
to
-FP-INCR.
maine
)
{
double
a
a++;
}
/*
declare
one
double
precision
floating
point
numbers
/*
end
of
main
*/
*/

Table of Contents

Other manuals for Texas Instruments TMS34010

Related product manuals