BUG DESCRIPTION:
----------------
The display of matrices of signed integers is misaligned (int8 int16 int32 int64):
--> i = int8(2.^grand(3,4,"unf",0,6))
i =
40 11 1 2
5 9 23 2
54 1 1 29
--> i = int16(2.^grand(3,4,"unf",0,14))
i =
3492 25 10 8
14657 2702 1 29
11 18 8247 6668
--> i = int32(2.^grand(3,4,"unf",0,30))
i =
59 421374334 18802 4
45965043 365963 827273313 31851519
185 10818006 1499 14685890
--> i = int64(2.^grand(3,4,"unf",0,62))
i =
83808277720 47517394272764 216201 20999753
124661133893 131333010633044816 4875972135343 116813767258166
18195512674 9456469350211 135605991827795 30257241518
The display of unsigned integers is correct:
-------------------------------------------
--> i = uint8(2.^grand(3,4,"unf",0,7))
i =
6 12 1 17
2 1 5 43
15 7 13 5
--> i = uint16(2.^grand(3,4,"unf",0,15))
i =
16499 4 131 1916
22764 370 56 33
3 60 1 56
--> i = uint32(2.^grand(3,4,"unf",0,31))
i =
32 11744 85552 13
452166255 802 615398 414622
25834949 112318769 35 25366
--> i = uint64(2.^grand(3,4,"unf",0,63))
i =
97100 11178792159 154387600970240 46140154167018
2832885 11772723872615 5552726471021052928 38
2538270591420 38086493394752 350325499 202736293388416608
ERROR LOG:
----------
none. Wrong display
HOW TO REPRODUCE THE BUG:
-------------------------
i = int8(2.^grand(3,4,"unf",0,6))
i = int16(2.^grand(3,4,"unf",0,14))
i = int32(2.^grand(3,4,"unf",0,30))
i = int64(2.^grand(3,4,"unf",0,62))
i = uint8(2.^grand(3,4,"unf",0,7))
i = uint16(2.^grand(3,4,"unf",0,15))
i = uint32(2.^grand(3,4,"unf",0,31))
i = uint64(2.^grand(3,4,"unf",0,63))
OTHER INFORMATION:
------------------
It was OK in Scilab 5.5.2:
-->i = int8(2.^grand(3,4,"unf",0,6))
i =
29 32 44 3
1 1 2 1
43 56 13 9
-->i = int16(2.^grand(3,4,"unf",0,14))
i =
14 15290 11653 1145
6 10847 11974 12316
201 15830 4 13639
-->i = int32(2.^grand(3,4,"unf",0,30))
i =
440634889 16129246 19 10
9 16875351 1 186172624
24175 481 6439 599292