|
From: | Michael Godfrey |
Subject: | [Octave-bug-tracker] [bug #37379] atan2 and other trig functions lack documentation |
Date: | Wed, 26 Sep 2012 15:35:00 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1 |
Follow-up Comment #9, bug #37379 (project octave): The GNU libc doc says: The math library normally defines M_PI to a double approximation of pi. If strict ISO and/or POSIX compliance are requested this constant is not defined, but you can easily define it yourself: #define M_PI 3.14159265358979323846264338327 ========================== Do we do this? Also, the GNU doc says: The arc cosine function is defined mathematically only over the domain -1 to 1. If x is outside the domain, acos signals a domain error. And similar for other inverse functions. Octave currently does not return an error. Instead it returns a complex result. This is also Matlab behaviour. Should we adhere to the GNU spec? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?37379> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |