summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/fixedpoint.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-12-10 22:50:00 +0000
committerJens Arnold <amiconn@rockbox.org>2006-12-10 22:50:00 +0000
commitf98fd72fe7d1076cf7a7758a60541a65d5fda578 (patch)
tree3ceebf129b7d156fd5b42ea3f21bdabd682639b3 /apps/plugins/lib/fixedpoint.h
parentf28a15f949b5ded8e4262e9cb38a47725ab403c5 (diff)
downloadrockbox-f98fd72fe7d1076cf7a7758a60541a65d5fda578.zip
rockbox-f98fd72fe7d1076cf7a7758a60541a65d5fda578.tar.gz
rockbox-f98fd72fe7d1076cf7a7758a60541a65d5fda578.tar.bz2
rockbox-f98fd72fe7d1076cf7a7758a60541a65d5fda578.tar.xz
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
Diffstat (limited to 'apps/plugins/lib/fixedpoint.h')
-rwxr-xr-xapps/plugins/lib/fixedpoint.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/plugins/lib/fixedpoint.h b/apps/plugins/lib/fixedpoint.h
new file mode 100755
index 0000000..065f9fb
--- /dev/null
+++ b/apps/plugins/lib/fixedpoint.h
@@ -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);