[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] big .hex file - explanation please?
From: |
Anton Erasmus |
Subject: |
Re: [avr-gcc-list] big .hex file - explanation please? |
Date: |
Sun, 15 Aug 2004 22:33:56 +0200 |
On 12 Aug 2004 at 14:32, Kelly McDonald wrote:
> Jeff & Eric,
>
> Thanks for the help.
>
> having the listing there is defnintly a big help. I think that I've been
> working with scripting languages too long!
>
> Q: if you are working with 'big numbers' are there any tricks that you
> usally employ? I'm trying to generate an output code for a DDS and it
> requires 32bits for an arbitrary frequency. I may try playing with it
> and try to do away with the floats. (then again I've still got almost 6k
> left to play with)
>
Well you can easily use 64bit numbers with gcc. This is normally enough range
to end up with a sensible 32bit result after some multiplies and divides. This
is
still much faster than the floating point routines.
Regards
Anton Erasmus
--
A J Erasmus