CSI-DSP
Version 1.0.0
CSI DSP Software Library
|
Functions | |
float64_t | csky_exp_f64 (float64_t x) |
Fast approximation to the exponential function based on e for float64_t -point_t data. More... | |
float64_t | csky_pow2_f64 (float64_t x) |
Fast approximation to the 2 based exponential function for float64_t -point data. More... | |
float64_t | csky_pow_f64 (float64_t x, float64_t y) |
Fast approximation to the exponential function for float64_t-point data. More... | |
Exponentional series functions includes pow, pow2 and exp, which are represented any value based, 2 based and e based Exponentional function repectively. The common methods to compute these functions are ploynomial approximation and table loop-up. And, it is a double floating version for the functions, say, the input and output are both double.
[in] | x | input value in double. |
The implementation is based on table lookup using 712 coarse values together with 1024 fine values which are both in double format.
The steps used are:
[in] | x | input value in double. |
The implementation is based on table lookup using 512 delta values combining with 512 accurate values.
The steps used are:
x = ex + t/512 + x1
x = ex + t/512 + e + x2where -1e6 < e < 1e6, and (float64_t)(2^(t/512+e)) is accurate to one part in 2^-64.
[in] | x | input value in double, the base of pow. |
[in] | x | input value in double, the exponention of pow. |
The implementation is based on the transform
x^y = e^(y*log(x))
The steps used are: