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

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

[Octave-bug-tracker] [bug #31246] Inconsistent behavior of .^


From: anonymous
Subject: [Octave-bug-tracker] [bug #31246] Inconsistent behavior of .^
Date: Mon, 04 Oct 2010 20:16:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8

URL:
  <http://savannah.gnu.org/bugs/?31246>

                 Summary: Inconsistent behavior of .^
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 04 Oct 2010 08:15:59 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I cannot think of a reason for these two results to be different. I would
expect the second result to be the same as the first.

octave:70> -0.5 .^ (2/3)
ans = -0.62996
octave:71> [-0.5] .^ [(2/3)]
ans = -0.31498 + 0.54556i


octave:72> abs(ans)
ans =  0.62996

I was unable to find similar reported bugs, or test with a newer version.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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