|
AM243x MCU+ SDK
08.06.00
|
|
Go to the documentation of this file.
43 #ifndef TI_ARM_TRIG_H_
44 #define TI_ARM_TRIG_H_
50 #define TRIG_TEXT_SECTION __attribute__((section(".trigText"))) __attribute__((always_inline)) //avoid function call overhead
51 #define TRIG_DATA_SECTION __attribute__((aligned(8), section(".trigData")))
173 __asm (
"VSQRT.F32 %0, %1" :
"=t" (r) :
"t" (x));
180 __asm (
"VABS.F32 %0, %1" :
"=t" (r) :
"t" (x));
float ti_arm_sin(float angleRad)
Computes the trigonometric sine value of the input angle using polynomial approximation techniques.
float ti_arm_atan(float x)
Computes the trigonometric arctangent value of the input value using polynomial approximation techniq...
static TRIG_TEXT_SECTION float ti_arm_sqrt(float x)
Arm FPU Hardware Single-Precision Square Root Function.
Definition: ti_arm_trig.h:170
static TRIG_TEXT_SECTION float ti_arm_abs(float x)
Arm FPU Hardware Single-Precision Absolute Value Function.
Definition: ti_arm_trig.h:177
void ti_arm_sincos(float angleRad, float *retValues)
Computes the trigonometric sine and cosine values of the input angle using polynomial approximation t...
float ti_arm_asin(float x)
Computes the trigonometric arcsine value of the input value using polynomial approximation techniques...
#define TRIG_TEXT_SECTION
Definition: ti_arm_trig.h:50
float ti_arm_acos(float x)
Computes the trigonometric arccosine value of the input value using polynomial approximation techniqu...
float ti_arm_atan2(float y, float x)
Computes the trigonometric atan2 value of the input values using polynomial approximation techniques.
float ti_arm_cos(float angleRad)
Computes the trigonometric cosine value of the input angle using polynomial approximation techniques.