Le 13/09/2019 à 15:28, Dang Ngoc Chan, Christophe a écrit :
Hello,

De : Stéphane Mottelet
Envoyé : vendredi 13 septembre 2019 15:22

1.7 cannot be stored exactly in IEEE754
Yes, but there is an "infinite" amount of decimal numbers
that cannot be stored exactly in IEEE754.
I know... so what ? Upon reflection I don't think that systematically adding trailing zeros (even when a number is stored exactly) is a good idea. What we could aim at, in order to keep a compact display, is to remove all trailing zeros when displaying non-scalar matrices, and display them when displaying a scalar alone. Even this small step (together with the display of small real real parts, small imaginary parts, zero imaginary parts) would be an improvement for Scilab users.

S.


--
Christophe Dang Ngoc Chan
Mechanical calculation engineer

General
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.
_______________________________________________
users mailing list
users@lists.scilab.org
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

--
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
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to