bugGNU Octave - Bugs: bug #56966, format hex displays confusingly...

 
 

bug #56966: format hex displays confusingly beginning in Octave 3.8.X

Submitter:  Rik <rik5>
Submitted:  Sun 29 Sep 2019 04:41:59 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
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
   

Mon 30 Sep 2019 03:42:22 AM UTC, comment #1: 

Fixed in this changeset (https://hg.savannah.gnu.org/hgweb/octave/rev/36b610122086).  I will graft this back on to stable since this is an important regression.

Rik <rik5>
Group administrator
Sun 29 Sep 2019 04:41:59 PM UTC, original submission:  

This is a regression from version 3.6.4.

Sample code to reproduce


format hex
x = uint16(4)
x =  0 4


In Octave 3.6.4 and earlier, or Matlab, the result is


x = 0004


Which is expected.

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
    2019-09-30 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code