![]() |
LIBML
Version 3.2.4
LIBML DSP Software Library
|
Functions | |
q15_t | tpt_atan_q15 (q15_t aInData) |
Arctan value of floating-point input. More... | |
q31_t | tpt_atan_q31 (q31_t aInData) |
Arctan value of floating-point input. More... | |
Arctan value of floating-point input.
Calculate the arctangent value of a given number.
[in] | src | the input value. |
Function notes: The input argument is tangent of the radian to be returned. It is scaled as Q(RES_LOGN).15-(RES_LOGN). For example, it is Q8.7 if RES_N = 256. The returned value falls in the range of [-PI / 2, PI / 2) scaled as depending on global symbol FOUR_PI_RANGE: 1> defined: [-0.25, 0.25) 2> otherwise: [-0.5, 0.5)
Arctan value of floating-point input.
Calculate the arctangent value of a given number.
[in] | src | the input value. |
Function notes: The input argument is tangent of the radian to be returned. It is scaled as Q(RES_LOGN).31-(RES_LOGN). For example, it is Q8.23 if RES_N = 256. The returned value falls in the range of [-PI / 2, PI / 2) scaled as depending on global symbol FOUR_PI_RANGE: 1> defined: [-0.25, 0.25) 2> otherwise: [-0.5, 0.5)