[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] 64-bit doubles
From: |
Preston Wilson |
Subject: |
Re: [avr-libc-dev] 64-bit doubles |
Date: |
Sat, 20 Dec 2008 19:04:11 -0500 |
User-agent: |
Microsoft-Entourage/11.4.0.080122 |
"Ron Kreymborg" wrote:
>> -----Original Message-----
>> From: Weddington, Eric [mailto:address@hidden
>> Sent: Sunday, 21 December 2008 6:00 AM
>> To: Ron Kreymborg; address@hidden
>> Subject: RE: [avr-libc-dev] 64-bit doubles
>>
>>
>>
>>> -----Original Message-----
>>> From:
>>> address@hidden
>>> [mailto:address@hidden
>>> org] On Behalf Of Ron Kreymborg
>>> Subject: [avr-libc-dev] 64-bit doubles
>>>
>>> A quick look at AVR Libc for 20081205 still lists doubles as
>>> only 32-bit. Is
>>> this so? If yes does anyone know of a 64-bit double library?
>>> I am pointing
>>> heliostats and 32-bits are just not enough.
>>>
>>> Ron
>>
>> Hi Ron,
>>
>> Yes, that is correct. Floats and doubles are 32-bits. No, I don't know
>> of a library. We (the avr-libc developers) have been advertising for
>> volunteers to help put together 64-bit double support for quite some
>> time. Nobody has volunteered yet.
>>
>> Eric Weddington
>
> Ok. For this project my good sense is saying go to a mcf52xx or M16C and a
> commercial compiler, but I have written fp code for now ancient processors
> and used the CORDIC transformations for transcendentals, so I'll have a look
> at AVRs over the xmas break. No promises...
There is a fixed point library at http://sourceforge.net/projects/avrfix/
that may do what you need, or may be more easily extended to do what you
need. It is worth a look. That library has the trig functions (using
CORDIC transformations), sqrt, +, -, *, /, and possibly other functions. I
have only looked at the library and not used it, and that was just over a
year ago when it was mentioned on either this or the avr-chat list. The
library is licensed under LGPL, which may or may not be an issue for your
project.
If you are considering a commercial compiler, ImageCraft and IAR both
support 64-bit floating point on the AVR parts.
-Preston
- RE: [avr-libc-dev] Add lib per devide., (continued)
- RE: [avr-libc-dev] Add lib per devide., Weddington, Eric, 2008/12/23
- Re: [avr-libc-dev] Add lib per devide., Dmitry K., 2008/12/24
- Re: [avr-libc-dev] Add lib per devide., Anatoly Sokolov, 2008/12/25
- RE: [avr-libc-dev] Add lib per devide., Weddington, Eric, 2008/12/25
- Re: [avr-libc-dev] Add lib per devide., Anatoly Sokolov, 2008/12/25
[avr-libc-dev] 64-bit doubles, Ron Kreymborg, 2008/12/20
RE: [avr-libc-dev] 64-bit doubles, Weddington, Eric, 2008/12/20
RE: [avr-libc-dev] 64-bit doubles, Ron Kreymborg, 2008/12/20
Re: [avr-libc-dev] 64-bit doubles,
Preston Wilson <=
Re: [avr-libc-dev] 64-bit doubles, Dave N6NZ, 2008/12/20
Re: [avr-libc-dev] 64-bit doubles, Preston Wilson, 2008/12/20
RE: [avr-libc-dev] 64-bit doubles, Weddington, Eric, 2008/12/20
RE: [avr-libc-dev] 64-bit doubles, Ron Kreymborg, 2008/12/21
Re: [avr-libc-dev] 64-bit doubles, Dave N6NZ, 2008/12/21