|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #53166] format long displays 15 significant digits, rather than 15 digits after decimal point (Matlab Compatibility) |
Date: | Thu, 15 Feb 2018 20:05:17 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
URL: <http://savannah.gnu.org/bugs/?53166> Summary: format long displays 15 significant digits, rather than 15 digits after decimal point (Matlab Compatibility) Project: GNU Octave Submitted by: rik5 Submitted on: Thu 15 Feb 2018 05:05:16 PM PST Category: Interpreter Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: Any _______________________________________________________ Details: I don't know if we have debated this and decide to be different from Matlab, or if Octave just became different. According to Matlab documentation, the long format displays 15 digits after the decimal point. Matlab format long pi 3.141592653589793 Octave octave:1> format long octave:2> pi ans = 3.14159265358979 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53166> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |