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

Izabela Wójcik-Grząba iwoj at il.pw.edu.pl
Wed Jun 5 17:19:15 CEST 2019


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:
>> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/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 
>> changed in the latest version of Scilab and wasn't working properly 
>> with some numbers imported from Excel. Fortunately I edited my program 
>> and now it works fine.
>> But I am still wondering if it's fine that Scilab crashes when width 
>> of number in format is smaller than displayed number, for example:
>> 
>> u=123.456;
>> format(8)
>> u  =  123.456
>> 
>> format(7)
>> u  =  123.46
>> 
>> format(6)
>> u  =  123.5
>> 
>> format(5)
>> u  =  123.
>> 
>> With format(4) and attempt to display a variable u Scilab stops 
>> working. Does everyone have such behaviour and isn't it a bug?
>> 
> Under Scilab 6.0.2, MacOSX :
> 
> --> u=123.456;
> 
> --> format(4)
> 
> --> u
>  u  =
> 
>    1.D+02
> 
>> Kind regards,
>> Iza
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users



More information about the users mailing list