[Scilab-users] Scilab 6.0.1 crashes with printf command

Stéphane Mottelet stephane.mottelet at utc.fr
Tue Sep 4 00:56:56 CEST 2018


Le 03/09/2018 à 22:30, Rafael Guerra a écrit :

> Dear Scilabers,
>
> Any clues on why the following command totally crashes Scilab 6.0.1 on Win7:
> --> printf("A = B ./(C+%%eps)   (to avoid division by 0)\n");
>
> while in Scilab 5.5.2 escapes % and outputs properly:
>   A = B ./(C+%eps)   (to avoid division by 0)
>
> How to escape % in Scilab 6.0.1's printf?
>
> PS:
> one workaround is to: printf("A = B ./(C+%seps)   (to avoid division by 0)\n","%")
> but it looks weird...
>
> Regards,
> Rafael
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
Hello,

This is http://bugzilla.scilab.org/show_bug.cgi?id=15441, it has been 
fixed on branch-6.0 and master:

http://gitweb.scilab.org/?p=scilab.git;a=commit;h=dd4dd2c315bbb4989ed25f631d7e887b0ed70c44

S.



More information about the users mailing list