[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] computing sine & cosine
From: |
nurdin |
Subject: |
Re: [avr-gcc-list] computing sine & cosine |
Date: |
Mon, 10 Nov 2003 15:04:36 +0700 |
is there any recommended website or article for me to find out about
processing floating number in avr microcontroller?
regards,
Rakhmat Nurdin
----- Original Message -----
From: "Richard Urwin" <address@hidden>
To: "nurdin" <address@hidden>; <address@hidden>
Sent: Sunday, November 09, 2003 6:31 PM
Subject: Re: [avr-gcc-list] computing sine & cosine
> 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