[Top][All Lists]

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

Re: [avr-libc-dev] Some question regarding FP-math

From: Weddington, Eric
Subject: Re: [avr-libc-dev] Some question regarding FP-math
Date: Sun, 1 Jul 2012 14:43:13 +0000

> -----Original Message-----
> From: address@hidden [mailto:avr-
> address@hidden On Behalf Of David
> Brown
> Sent: Sunday, July 01, 2012 7:21 AM
> To: address@hidden
> Subject: Re: [avr-libc-dev] Some question regarding FP-math
> Is there any interest in alternative implementations for some of these
> functions?  I've got some code for calculating sines and cosines using a
> table with cubic interpolation which I used on another processor.  It is
> probably a little bigger than the current avr-libc implementation, but
> not too bad - with cubic interpolation the table can be a lot smaller
> than with linear interpolation.  It is also not quite as accurate as
> power-series implementations tend to be, but it is a lot faster, and
> accurate enough for many uses.
> I'm sure I could adapt the code to the avr.  But I don't know the best
> way to include such code in avr-libc - because it is not accurate enough
> for IEEE standards, it can't replace the standard implementations.

The goal of avr-libc is to be a Standard C library. Because of that, it does 
need to meet all relevant standards.

However, you could still put together a library to be distributed separately.


reply via email to

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