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: Michael C. Grant
Subject: [Octave-bug-tracker] [bug #32120] complex times complex failure
Date: Wed, 12 Mar 2014 21:01:36 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36

Follow-up Comment #4, bug #32120 (project octave):

Can we consider re-opening this? I'm seeing a bug on this very test of
CMatrix.cc when building gui-release on the Mac using the native BLAS. Now, it
could very well be that the bug lies in the BLAS. But I would suggest that
this particular build case is important enough that we should figure out why
it is happening and attempt to work around it.

>> (1+i)*(4+i)+(2+i)*(5+i)+(3+i)*(6+i)
ans =  29 + 21i
>> x = [1+i 2+i 3+i]
x =

   1 + 1i   2 + 1i   3 + 1i

>> y = [ 4+i ; 5+i ; 6+i]
y =

   4 + 1i
   5 + 1i
   6 + 1i

>> x*y
ans =  6.9263e-310 + 6.9263e-310i
>> sum(x.'.*y)
ans =  29 + 21i



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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