Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!news.funet.fi!tukki.jyu.fi!paasivir From: paasivir@tukki.jyu.fi (Risto Paasivirta) Newsgroups: comp.sys.amiga.tech Subject: Re: Integer sine calculations? Message-ID: <1990Nov23.100024.11424@tukki.jyu.fi> Date: 23 Nov 90 10:00:24 GMT References: <7336@hub.ucsb.edu> <1990Nov21.221825.10898@mdivax1.uucp> Distribution: comp Organization: University of Jyvaskyla, Finland Lines: 18 > >and i'm pretty sure the numbers are not > >pre-calculated, so it seems that smooth curves like > >the sin and cos can be done using integer (native > >MC68000) arithmatic. > >Hmmm, seems to me you could just evaluate the Taylor series >for sine and cos in fixed point arithmetic... Just create table of sine values. Table of 1024 values is a plenty for 16-bit maths. Keep things simple, if you want to keep things fast... paasivir@jyu.fi -- Bus error (core dumped)