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

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

[Octave-bug-tracker] [bug #46000] FormatSpacing is missing


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #46000] FormatSpacing is missing
Date: Wed, 23 Sep 2015 13:42:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.99 Safari/537.36

Update of bug #46000 (project octave):

                  Status:               Confirmed => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #5:

Both properties "Format" and "FormatSpacing" are clearly deprecated in MATLAB,
see:

https://www.mathworks.com/help/matlab/release-notes.html?searchHighlight=formatspacing#R2014b

under the point "Properties and syntaxes being removed or changed". But I can
confirm, that in 2014b and 2015b these properties still exist. I don't
recommend to get Octave users used to these properties, if they might be
dropped off MATLAB in the nearer future.

A dirty hack to replace get(0, "format") was checking the display size of PI.


octave:1> format short, int32(length(disp(pi)))
ans = 8
octave:2> format long, int32(length(disp(pi)))
ans = 18
octave:3> format short e, int32(length(disp(pi)))
ans = 14
octave:4> format long e, int32(length(disp(pi)))
ans = 24



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46000>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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