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

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

[Octave-bug-tracker] [bug #32120] complex times complex failure


From: Pascal Dupuis
Subject: [Octave-bug-tracker] [bug #32120] complex times complex failure
Date: Thu, 13 Jan 2011 13:53:09 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13 FirePHP/0.5

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

                 Summary: complex times complex failure
                 Project: GNU Octave
            Submitted by: cdemills
            Submitted on: jeu 13 jan 2011 13:53:09 GMT
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Pascal Dupuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This bug is present in both 3.2.3 and 3.3.54+. I tried to execute the test
found in liboctave/CMatrix.cc

assert([1+i 2+i ; 3+i 4+i ] * [5+i ; 6+i], [15 + 14i ; 37 + 18i], 1e-14)

It fails,  and the funny thing is:
[1+i 2+i] * [5+i ; 6+i]
ans =  15 + 14i %#  OK
[3+i 4+i ] * [5+i ; 6+i]
ans =  37 + 18i %# OK

[1+i 2+i ; 3+i 4+i ] * [5+i ; 6+i]
ans =

   17 + 11i
   39 + 11i

Just plain wrong. 

Regards

Pascal




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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