bugGNU Octave - Bugs: bug #56940, "format g" does not...

 
 

bug #56940: "format g" does not align negative numbers that use exponential format correctly

Submitter:  Rik <rik5>
Submitted:  Mon 23 Sep 2019 06:43:41 PM UTC
   
 
Category:  Interpreter 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
   

Mon 23 Sep 2019 08:57:16 PM UTC, comment #1: 

Fixed in this changeset (https://hg.savannah.gnu.org/hgweb/octave/rev/251056aeba5d).

Closing report.

Rik <rik5>
Group administrator
Mon 23 Sep 2019 06:43:41 PM UTC, original submission:  

Sample session:


format short g
x = pi*[-1e-11;0;1e11]
x =

  -3.1416e-11
           0
  3.1416e+11


This differs from Matlab which gets the alignment correct.  This bug has been present since version 3.2.4 (as far back as I could go).


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-23 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code