bug-coreutils
[Top][All Lists]
Advanced

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

bug#8320: df -BT: rounding error?


From: Paul Eggert
Subject: bug#8320: df -BT: rounding error?
Date: Tue, 22 Mar 2011 09:47:42 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9

On 03/22/2011 08:47 AM, Voelker, Bernhard wrote:
> shouldn't it return
> 0[TPE] for the "Used" column, as rounding a value of 17% should lead to
> zero (mathematically)?

df always rounds up, rather than to nearest.
I vaguely recall that POSIX specifies that, for -k.

> BTW: why are `Z' and `Y' "too large"?

They don't fit in 64 bits.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]