avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] computing sine & cosine


From: Richard Urwin
Subject: Re: [avr-gcc-list] computing sine & cosine
Date: Sun, 9 Nov 2003 11:31:00 +0000
User-agent: KMail/1.5

On Sunday 09 Nov 2003 4:56 am, nurdin wrote:
>     im beginner on avr,my project needs the avr ability using
> trigonometrical funtion such as sine, cosine, etc. i've read that to use
> trigonometrical function we should use float number,question: 1.how's the
> digital representation of float number in avr?
>     2.how's to check avr's ability in using trigonometrical functions
> (sine,cosine,etc) ?

As a quick answer, you'll be using c, or at least the c library, on an AVR 
with large memory. AVRs do not have builtin float hardware, it is all done in 
software.

1. IEEE standard representation.
2. write a simple program and compile it. See how big the output file is and 
that will tell you how big the flash needs to be.

-- 
Richard Urwin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]