Re: shown disk sizes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 18 Jul 2013, NeilBrown wrote:

Last but not least... when the tools print values like "10.00 GiB 10.74
GB"... wouldn't it be better if they printed "~10.00 GiB ~10.74 GB" or
something like this to show that the values are rounded and not
_exactly_ 10 GiB... could be helpful to avoid misalignment issues.

Would that really help?  Given that 10.00GiB is not exactly the same as
10.74GB, isn't it obvious that they must be approximations?

I'm not exactly against adding '~' but it doesn't seem necessary.
Does anyone else have thoughts?

When I studied rounding I was taught that 10.74 implied values could be between 10.744999999... and 10.735000000... Same goes with 10.00 can be between 10.004999999... and 99.995000000...

As long as the value numbers are correctly rounded, I don't feel there is a need to put the "~" in there. 10.74GB doesn't imply 10.7400000000000.

--
Mikael Abrahamsson    email: swmike@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux