octave-maintainers
[Top][All Lists]
Advanced

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

Re: format short output with small numbers (bug #56936)


From: John W. Eaton
Subject: Re: format short output with small numbers (bug #56936)
Date: Tue, 24 Sep 2019 13:22:25 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 9/24/19 1:19 PM, John W. Eaton wrote:
On 9/23/19 5:14 PM, Rik wrote:
All,

What should happen when we display small numbers with "format short"
(default)?  Should we end up printing a lot of zeros?  That is what happens
now.

x = [-pi;0;pi];
x*1e-6
ans =

   -0.0000031416
               0
    0.0000031416

In earlier Octave versions we would switch over to scientific notation at a
certain point.  These are the results from version 3.4.3

I realize I may have missed the point of your question. If the behavior changed, then I don't know that it was intentional. Is the situation now that there is no point where the switch happens?

jwe




reply via email to

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