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

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

[Octave-bug-tracker] [bug #53167] format long doesn't adjust precision t


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #53167] format long doesn't adjust precision to 7 digits when displaying single() values
Date: Wed, 21 Feb 2018 13:06:12 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #13, bug #53167 (project octave):

You'll see that I removed output_max_field_width.  I did this because I
couldn't see the point of having it and had forgotten why it was needed.  But
now I see that bad things happen without it, for example, the following


fixed_point_format (false);
format short
for x = 1:3:12
  randn (10) * 10^x
end


previously would be displayed in E format once the values all became too large
for the max field width.

I suppose I should restore this behavior, but I'm not sure whether there
should be separate limits for single and double values.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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