Atan2sp


Detailed Description


Functions

float atan2sp (float a, float b)
float atan2sp_c (float a, float b)


Function Documentation

float atan2sp ( float  a,
float  b 
)

Description:
The atan2sp function returns the arc tangent of a floating-point argument a/b. The return value is an angle in the range [-PI/2, PI/2] radians.
Parameters:
[in] a = Input float
[in] b = Input float
Returns:
Resultant float
Special Cases:
  • If a or b is NaN (Not a Number), the return value may be random.
  • If | a/b | < 2.44e-4, then the return value is a/b for small angles.
See also:
Implementation Notes:
  • The code supports both big and little endian modes.

float atan2sp_c ( float  a,
float  b 
)


Copyright 2016, Texas Instruments Incorporated