Re: [Scilab-users] A possible bug with format(width)

2019-06-06 Thread Izabela Wójcik-Grząba
This behavior (swith to "e") is logical. Summing up: I should report a bug and suggest automatic switching to "e" in such situation? Iza ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] A possible bug with format(width)

2019-06-06 Thread Stéphane Mottelet
This behavior (swith to "e") is logical. For example, with format("v",10), which is the default, 123456789 cannot be displayed in "v" mode with 10 characters. Hence, the only solution is to switch to "e" mode: --> format("v",10) --> 123456789  ans  =    1.235D+08 Of course, you cannot use

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread stephane . mottelet
Scilab 6.0.1 does it as follows:    --> format(4); u=123.456   u  =         1.0  D+02   The display of Scilab 5.5.2 does not respect the format length either,  because " 123." has length 5 (blank sign +123 + dot)   S. Quoting Samuel Gougeon : Le 05/06/2019 à 21:57,

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread Samuel Gougeon
Le 05/06/2019 à 21:57, stephane.motte...@utc.fr a écrit : As MacOSX, Linux is not affected, this will help to solve this bug: Scilab 6.0.2 (Feb 14 2019, 10:11:47) --> *OS_Version* ans= Linux 4.15.0-48-generic --> *format(4); u=123.456* u= 1.D+02 Are you in "v" format? This result

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread stephane . mottelet
As MacOSX, Linux is not affected, this will help to solve this bug: Scilab 6.0.2 (Feb 14 2019, 10:11:47)   --> OS_VERSION  ans  =    Linux 4.15.0-48-generic   --> FORMAT(4); U=123.456  u  =       1.D+02 S. Quoting Samuel Gougeon : Hello Izabela,   Le 05/06/2019 à

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread Samuel Gougeon
Hello Izabela, Le 05/06/2019 à 16:38, Izabela Wójcik-Grząba a écrit : .../... With format(4) and attempt to display a variable u Scilab stops working. Does everyone have such behaviour and isn't it a bug? Confirmed behavior on win7 64 bits. Sure it is a bug, a serious one. You would be kind

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread Izabela Wójcik-Grząba
My computer works under Windows 7, 64bit. Iza W dniu 05.06.2019 16:55, Stéphane Mottelet napisał(a): Le 05/06/2019 à 16:38, Izabela Wójcik-Grząba a écrit : Hello, When Scilab 6.0.2 became available I reported a crash while running my program which worked fine on previous version:

Re: [Scilab-users] A possible bug with format(width)

2019-06-05 Thread Stéphane Mottelet
Le 05/06/2019 à 16:38, Izabela Wójcik-Grząba a écrit : Hello, When Scilab 6.0.2 became available I reported a crash while running my program which worked fine on previous version:

[Scilab-users] A possible bug with format(width)

2019-06-05 Thread Izabela Wójcik-Grząba
Hello, When Scilab 6.0.2 became available I reported a crash while running my program which worked fine on previous version: http://mailinglists.scilab.org/Scilab-users-Scilab-crash-on-a-Windows-server-td4039065.html#a4039120 I managed to find out that the problem was about "format" which was