avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] Re: Add items on TODO


From: E. Weddington
Subject: Re: [avr-libc-dev] Re: Add items on TODO
Date: Wed, 30 Oct 2002 11:37:48 -0700

On 30 Oct 2002 at 18:18, Joerg Wunsch wrote:

> As E. Weddington wrote:
> 
> > math: asin(x) = atan(x/sqrt(1-x^2))
> > AFAIK, C lang: atan(x/y) == atan2(y, x) so C lang asin(x) == 
> > atan2(sqrt(1-x*x), x)
> 
> If x == 1, atan2 would divide by 0.  Hmm, it seems the case where x !=
> 0 and y == 0 is actually defined well, and can be used.
> 
> Btw., your atan2() call has the arguments reversed (as it was the case
> with the library until recently).
> 

Oh that's what you meant (divide by 0). I thought you meant something 
else....

Well then what about this:
http://www.avr1.org/pipermail/avr-gcc-list/2002-October/005288.html

Eric




reply via email to

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