forked from len0rd/rockbox
Beginnings of a fixed point math library for use in plugins. fsincos() only for now, mostly copied from eq.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11709 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f28a15f949
commit
f98fd72fe7
2 changed files with 141 additions and 0 deletions
22
apps/plugins/lib/fixedpoint.h
Executable file
22
apps/plugins/lib/fixedpoint.h
Executable file
|
@ -0,0 +1,22 @@
|
|||
/***************************************************************************
|
||||
* __________ __ ___.
|
||||
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||
* \/ \/ \/ \/ \/
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (C) 2006 Jens Arnold
|
||||
*
|
||||
* Fixed point library for plugins
|
||||
*
|
||||
* All files in this archive are subject to the GNU General Public License.
|
||||
* See the file COPYING in the source tree root for full license agreement.
|
||||
*
|
||||
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
long fsincos(unsigned long phase, long *cos);
|
Loading…
Add table
Add a link
Reference in a new issue