Functions
Cosdp

Functions

double cosdp (double a)
 

Detailed Description

Function Documentation

◆ cosdp()

double cosdp ( double  a)
Description:
The cosdp function returns the cosine of a floating-point argument a. The angle a is expressed in radians. The return value is in the range of [-1.0 and +1.0]. An argument with a large magnitude may produce a result with little or no significance.
Parameters
[in]a= Input double
Returns
Resultant double
Special Cases:
  • If | a | > 1.0737e+9, then the return value is zero for large angles.
See also
Implementation Notes:
  • The code supports little endian mode.

Copyright 2022, Texas Instruments Incorporated