Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: Sinus and cosinus functions

RE: Sinus and cosinus functions

From: edx <Felix.Arends_at_gmx.de>
Date: Sat, 31 Aug 2002 17:00:54 +0200

Maybe we could implement a sin / cos function into math.h (using only
one table). Otherwise, more memory is used if more than one sin-table is
created. Also, it will be easier for coders to use a pre-written sin
function.

Regards,
        edx (Felix Arends)

> -----Original Message-----
> From: owner-rockbox_at_cool.haxx.se [mailto:owner-rockbox_at_cool.haxx.se]
On
> Behalf Of Daniel Stenberg
> Sent: Saturday, August 31, 2002 4:54 PM
> To: rockbox_at_cool.haxx.se
> Subject: Re: Sinus and cosinus functions
>
> On Sat, 31 Aug 2002, Damien Teney wrote:
>
> > I am making a program that needs the sinus (sin()) and cosinus
(cos())
> > functions. I looked the firmware/include/math.h file, but these
> functions
> > aren't defined. Is there a way to add/use them ?
>
> Use a table, like the bounce screensaver does.
>
> --
> Daniel "Bagder" Stenberg -- http://rockbox.haxx.se/
Received on 2002-08-31

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy