<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">Le 13/09/2019 à 13:07, Samuel Gougeon a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:316628fe-a1ac-f129-0b7d-dddf68028273@free.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Le 12/09/2019 à 18:55, Stéphane
Mottelet a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:5ca07ea9-bf8d-dd92-958c-6abac0ce5e1a@utc.fr">I prefer
the display after applying <a class="moz-txt-link-freetext"
href="https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/codereview.scilab.org/#/c/20981/"
moz-do-not-send="true">https://codereview.scilab.org/#/c/20981/</a>:
<br>
<br>
--> x0=%pi/4;h=%eps/2 <br>
h = <br>
<br>
1.110D-16 <br>
<br>
--> cos(x0+%i*h) <br>
ans = <br>
<br>
0.7071068 - 7.850D-17i <br>
<br>
However, we could discuss if the arbitrary switch to "e" mode is
desirable or not, but since Scilab 6.0 we have got used to this
display mixing "v" and "e" mode... <br>
</blockquote>
<p><br>
</p>
<p>... and IMO it's very suitable. The only rule should be that, <b><i>for
a given format's width</i></b>, <b><i>the more the number
of significant displayed figures the better.</i></b> When
the exponent format is used, it takes 4 or 5 digits (D+12,
D+123). As a consequence, in v mode, small (absolute) values
should be displayed in normal mode down to 4 non-significant 0
(e.g. 0.000012), and switched to "e" mode beyond.</p>
<p>In v mode, forcing the display of 0.0123456 in "e" mode on the
(bad) reason that some other huge or tiny numbers in the matrix
are displayed in this mode, would print 1.234D-02, and so make
invisible 2 significant figures.<br>
I do not see any reason that would impose the display mode to be
homogeneous over all elements of a matrix, possibly canceling
the display of significant figures in the given format's width.</p>
</blockquote>
I agree Samuel. <br>
<blockquote type="cite"
cite="mid:316628fe-a1ac-f129-0b7d-dddf68028273@free.fr">
<p>Regards</p>
<p>Samuel</p>
<p><br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users">https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="moz-txt-link-freetext" href="http://www.utc.fr/~mottelet">http://www.utc.fr/~mottelet</a>
</pre>
</body>
</html>