~vcs-imports/scilab/master

Viewing all changes in revision 32291.

  • Committer: Clément DAVID
  • Author(s): Stéphane MOTTELET
  • Date: 2019-12-05 16:40:47 UTC
  • Revision ID: git-v1:97488f67efff021d026859ba5d75f57efe3de1ba
[ast] display trailling zeros when significant digit is hidden

This patch activates the display of trailing zeros only when
displaying a scalar, matrix display is unchanged:

--> x=1:0.1:2
 x  =

   1.   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   1.9   2.

--> x(8)
 ans  =

   1.7000000

--> x(8)-1.7
 ans  =

   2.220D-16

Change-Id: I176ac635ddd7b10f9f9e4f57291b594e666bf59e

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: