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

Functions

static float64_t _exp1 (float64_t x, float64_t xx, float64_t error)
 
static float64_t _log1 (float64_t x, float64_t *delta, float64_t *error)
 
static q31_t _checkint (float64_t x)
 
float64_t csky_pow_f64 (float64_t x, float64_t y)
 Fast approximation to the exponential function for float64_t-point data. More...
 

Function Documentation

static q31_t _checkint ( float64_t  x)
static

A function to check the double value is intger, odd, even or neither. param[in] x input value in double. return flag.

static float64_t _exp1 ( float64_t  x,
float64_t  xx,
float64_t  error 
)
static

Fast approximation to the exponential function for float64_t-point data. param[in] x input value in double. param[in] xx input value in double. param[out] *error output value in double. return e^(x+xx).

static float64_t _log1 ( float64_t  x,
float64_t delta,
float64_t error 
)
static

Fast approximation to the logarithm function for float64_t-point data. param[in] x input value in double. param[out] *delta output value in double. param[out] *error output value in double. return log(x).