Doing a ^L for a selected file I get the following information:
Image: http://i64.tinypic.com/2qcjlh3.jpg
TC says:
2,093,767 bytes (= 2,044k 1M)
As I understand it:
2,093,767 b / 1,024 = 2,044 k
2,044 k / 1,024 = 1.997 M
But should it not be rounded up to 2M? What is my mistake there?
'Total space occupied' calculation: is not being rounded up as expected
Moderators: white, Hacker, petermad, Stefan2
Re: 'Total space occupied' calculation: is not being rounded up as expected
Actually both values are rounded down. In my case 32-bit TC 9.22a displays 2045 k and 2 M:
---------------------------
Total Commander
---------------------------
Total space occupied:
2 093 767 bytes in 1 file(s)
(= 2 045k, 2M)
Actual space used (considering cluster size)
on source drive: 2 097 152 Bytes
Required on target drive: 2 097 152 Bytes
c:\ : 3 336 828 k of 262 138 272 k free
---------------------------
OK
---------------------------
---------------------------
Total Commander
---------------------------
Total space occupied:
2 093 767 bytes in 1 file(s)
(= 2 045k, 2M)
Actual space used (considering cluster size)
on source drive: 2 097 152 Bytes
Required on target drive: 2 097 152 Bytes
c:\ : 3 336 828 k of 262 138 272 k free
---------------------------
OK
---------------------------
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: 'Total space occupied' calculation: is not being rounded up as expected
You are right, Usher! I did not catch the 2,044 (->2,045 k) at first. So is it a bug for the latest 64-bit version?