octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56940] "format g" does not align negative num


From: Rik
Subject: [Octave-bug-tracker] [bug #56940] "format g" does not align negative numbers that use exponential format correctly
Date: Mon, 23 Sep 2019 14:43:43 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <https://savannah.gnu.org/bugs/?56940>

                 Summary: "format g" does not align negative numbers that use
exponential format correctly
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Mon 23 Sep 2019 11:43:41 AM PDT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

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






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56940>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]