Functions
Atan2sp

Functions

float atan2sp (float a, float b)
 

Detailed Description

Function Documentation

◆ atan2sp()

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 little endian mode.

Copyright 2022, Texas Instruments Incorporated