CSI-DSP  Version 1.0.0
CSI DSP Software Library
Functions
csky_pow_q31_yv.c File Reference

Functions

static float64_t _exp1 (float64_t x, float64_t xx, float64_t error)
 Fast approximation to the exponential function for float64_t-point data. More...
 
static float64_t _log1 (float64_t x, float64_t *delta, float64_t *error)
 Fast approximation to the logarithm function for float64_t-point data. More...
 
static q31_t _checkint (float64_t x)
 a function to check the double value is intger, odd, even or neither. More...
 
q31_t csky_dsp_lib_pow_int32 (q31_t arg_in_x, q15_t arg_exp_in_x, q31_t arg_in_y, q15_t arg_exp_in_y, q31_t *arg_exp_out)
 Fast approximation to the exponential function for float64_t-point data. More...
 

Function Documentation

static q31_t _checkint ( float64_t  x)
static
Parameters
[in]xinput value in double.
Returns
flag.
static float64_t _exp1 ( float64_t  x,
float64_t  xx,
float64_t  error 
)
static
Parameters
[in]xinput value in double.
[in]xxinput value in double.
[out]*erroroutput value in double.
Returns
e^(x+xx).
static float64_t _log1 ( float64_t  x,
float64_t delta,
float64_t error 
)
static

end of Pow group

Parameters
[in]xinput value in double.
[out]*deltaoutput value in double.
[out]*erroroutput value in double.
Returns
log(x).