[Top][All Lists]

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

[avr-libc-dev] Possible bug in avr-libc documentation

From: Christian Hachmann
Subject: [avr-libc-dev] Possible bug in avr-libc documentation
Date: Wed, 9 Feb 2005 22:21:30 +0100

The documenation of the Mathematics-Module reads

      double 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

reply via email to

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