EasyManua.ls Logo

Texas Instruments TMS34010 - Page 114

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_MINUS
Double
Precision Su
btract
-FP-MINUS
Input(s)
doublel,
double2
Output(s)
double
Action
double2 - double1 -+
double
Description
This function takes
two
double-precision
floating-point
numbers and forms
their difference.
Errors None.
Example
There are no errors generated in
-FP-MINUS
because the function merely
negates the value
of
double1, then calls
-FP-ADD.
Errors
are
detected
as
in
-FP-ADD.
This example generates a call
to
-FP-MINUS:
main(
)
(
double
a,b,c
c = a - b ;
}
/*
declare
three
double
precision
floating
point
numbers
* /
/*
end
of
main
* /
0-23

Table of Contents

Other manuals for Texas Instruments TMS34010

Related product manuals