Important: The information in this document is obsolete and should not be used for new development.
FractSineCosine
You can use theFractSineCosine
function to obtain both the sine and cosine of an angle measured in degrees.
fract FractSineCosine (Fixed degrees, fract *cosine);
degrees
- The angle in degrees for which the cosine and sine are required.
cosine
- A pointer to the location where the cosine of the angle is required.
- function result
- The sine of the angle specified.
DESCRIPTION
Given thedegrees
parameter in degrees, theFractSineCosine
function returns the sine as the function result and the cosine in thecosine
parameter. Values for thedegrees
parameter are specified in degrees, not radians. The range of the angle is -32,768 to +32,769.999 degrees.