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

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

[Octave-bug-tracker] [bug #29685] Using abs() on a int16 or int8 vector


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #29685] Using abs() on a int16 or int8 vector changes the vector
Date: Tue, 27 Apr 2010 04:55:25 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100308 Iceweasel/3.5.8 (like Firefox/3.5.8)

Update of bug #29685 (project octave):

                  Status:               Confirmed => Fixed                  
             Assigned to:                    None => jwe                    
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #2:

Given the definition of abs in liboctave/intNDArray.cc, I would expect this
problem to affect all integer types.  The same problem is also present for the
sign function (signum in the intNDArray class).  I checked in the following
change:

  http://hg.savannah.gnu.org/hgweb/octave/rev/87f879cf48fd

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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