Floating point vs. fixed point does NOT give you additional precision, it gives you additional range. Trig math usually doesn't have a very large range so I'm not convinced fixed point isn't your solution. TTYL > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Martijn van Aartrijk > Sent: June 5, 2003 08:59 > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: How to optimize? > > > Unfortunately, yes, I need the precision for more trig math later on. > > Michael Rigby-Jones wrote: > > Do you really require the answer to be a float? Have a look at > the recent > > thread on fixed point calculations (subject: Tips to reduce > Program Size > > using CCS C) > > > > Regards > > > > Mike > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu