forked from len0rd/rockbox
FFT plugin: eliminate 64-bit math. This should result in faster and probably more accurate calculations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25790 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7f9d30ba3e
commit
af466f3cbf
3 changed files with 21 additions and 23 deletions
|
@ -17,12 +17,4 @@
|
|||
#define float_q15(a) float_q(a, 15)
|
||||
#define float_q16(a) float_q(a, 16)
|
||||
|
||||
/**
|
||||
* Fixed point square root via Newton-Raphson.
|
||||
* @param a square root argument.
|
||||
* @param fracbits specifies number of fractional bits in argument.
|
||||
* @return Square root of argument in same fixed point format as input.
|
||||
*/
|
||||
int64_t fsqrt64(int64_t a, unsigned int fracbits);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue