|
From: | E. Weddington |
Subject: | Re: [avr-libc-dev] Possible bug in avr-libc documentation |
Date: | Wed, 09 Feb 2005 14:55:39 -0700 |
User-agent: | Mozilla Thunderbird 0.7.3 (Windows/20040803) |
Christian Hachmann wrote:
Could you please fill out a bug tracker for this? That way it doesn't get lost.Hi The documenation of the Mathematics-Module readsdouble asin ( double __x ) The asin() function computes the principal value of the arc sine of x. The returned value is in the range [0, pi] radians. A domain error occurs for arguments not in the range [-1, +1].While the funktion in avr-libc itself seems to me to work properly and returns values in the range [-pi/2,pi/2] the documentation names a range of [0,pi] which doesn't make sense esp. for negative arguments. Christian Hachmann
Thanks Eric
[Prev in Thread] | Current Thread | [Next in Thread] |