bugGNU Octave - Bugs: bug #40349, prod() function needs...


bug #40349: prod() function needs "native" option like sum()

Submitted by:  Rik <rik5>
Submitted on:  Tue 22 Oct 2013 05:23:17 PM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 04 May 2014 11:27:26 PM UTC, comment #1:

Fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/8cc66f091584).

Rik <rik5>
Project Administrator
Tue 22 Oct 2013 05:23:17 PM UTC, original submission:

The prod() function should have a "native" option like sum() where all calculations are carried out in the type of the input.

I found this when executing prod() with an int64 class entry. Matlab already supports this and Octave supports "native" for the sum() function so there is existing code to draw inspiration from.

Rik <rik5>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-04 rik5 StatusConfirmed => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.3