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

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

[Octave-bug-tracker] [bug #50238] sum, cumsum, etc. mishandle integer in


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #50238] sum, cumsum, etc. mishandle integer inputs
Date: Mon, 6 Feb 2017 13:16:58 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Update of bug #50238 (project octave):

                  Status:                    None => Confirmed              
        Operating System:       Microsoft Windows => Any                    
                 Summary: Functions "sum" & "cumsum" handle data types
differently than "+" operator => sum, cumsum, etc. mishandle integer inputs

    _______________________________________________________

Follow-up Comment #1:

Confirmed.  It looks like we have some issues with the optional argument
specifying how the operation should be performed.  Matlab doesn't seem to have
this argument for the cumulative functions.  And Octave is returning double
for cumsum by default, same as for sum.  I think we need to start with some
tests to see exactly what we are aiming for.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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