EasyManua.ls Logo

Texas Instruments TMS34010 - Page 102

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
DEeR
Input(s)
Output(s)
Action
Description
Errors
Example
Double
Precision
Decrement
-FP-DECR
double1
double1, double2
double1 - 1
-+
double2
This function takes a double-precision
floating-point
number and decre-
ments it by one. The original
input
is
left untouched
as
the second item
on the stack. The result
is
at the top
of
the argument stack after execution
of
this function.
None.
There
are
no errors generated in -
FP
- DECR because -
FP
-
DECR
merely
pushes a double-precision binary
floating-point
one
onto
the argument
stack and
calls
-FP-MINUS.
Errors
are
therefore detected
as
in
-FP-MINUS.
The
following
is
an
example
of
C code
which
would
generate a call to
-FP-DECR.
maine
)
{
double
a
a--;
}
/*
declare
one
double
precision
floating
point
numbers
/*
end
of
main
*/
*/
D-11

Table of Contents

Other manuals for Texas Instruments TMS34010

Related product manuals