[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56938] Regression in "format long" display be
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #56938] Regression in "format long" display between version 4.2 and 4.4 |
Date: |
Mon, 23 Sep 2019 14:26:24 -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/?56938>
Summary: Regression in "format long" display between version
4.2 and 4.4
Project: GNU Octave
Submitted by: rik5
Submitted on: Mon 23 Sep 2019 11:26:22 AM PDT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
When "format long" is used to display matrices the base format is an
exponential even if the value to display does not require it.
Sample Octave session showing the difference between scalars and matrices.
octave:10> format long
octave:11> x = pi
x = 3.141592653589793
octave:12> x = [-pi; 0; pi]
x =
-3.141592653589793e+00
0
3.141592653589793e+00
For reference, Matlab displays "3.141592653589793" for both.
Also related, if fixed_point_format is set to true then exponential format is
turned off, but there is one too many significant figures printed.
octave:18> fixed_point_format (1);
octave:19> x
x =
-3.1415926535897931
0
3.1415926535897931
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56938>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56938] Regression in "format long" display between version 4.2 and 4.4,
Rik <=