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

 
 

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

Submitter:  Rik <rik5>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 04 May 2014 11:27:26 PM UTC, comment #1: 
Rik <rik5>
Group 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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-cf05.
    Corresponding source code