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 FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 May 2014 11:27:26 PM UTCrik5StatusConfirmed=>Fixed

    Back to the top

    Powered by Savane 3.1-cleanup1