octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #37379] atan2 and other trig functions lack do


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #37379] atan2 and other trig functions lack documentation
Date: Fri, 28 Sep 2012 02:07:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1

Follow-up Comment #13, bug #37379 (project octave):

I have looked at this a bit more.  The single
argument trig and inverse trig functions appear
to follow Kahan for complex arguments.  This
differs from (extends) the ISO/IEC definitions
for reals (with +- 0).  However, atan2 does not
do this.  Thus, for complex arguments
atan2(y,x) != atan(y/x) despite the help doc which
says that it is.  atan2 does not accept complex
arguments.

Maybe atan2(y,x) should correctly preserve the
signs of y and x and use atan?

I will look more at how Maple does this.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37379>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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