Re: [PATCH] corrupted free inodes list
- From: Thomas Dickey <dickey his com>
- To: Leonard den Ottolander <leonard den ottolander nl>
- Cc: mc-devel gnome org
- Subject: Re: [PATCH] corrupted free inodes list
- Date: Fri, 22 Dec 2006 17:57:34 -0500 (EST)
On Fri, 22 Dec 2006, Leonard den Ottolander wrote:
On Wed, 2006-12-20 at 02:15 +0100, Mikulas Patocka wrote:
--- maybe you could change double to "long long" but I'm not sure if it
exists on all machines --- a configure test would probably be needed.
Yes. Using floats for discrete counters is not such a good idea.
It's likely to be slower, but if you don't exceed the precision of the
mantissa, you won't lose information.
The general reader, taking into account the comment about "discrete" is
likely to assume that you meant information would be lost. Since that's
not the case (for the assumed 48 bits), it's worth clarifying the comment.
Thomas E. Dickey
] [Thread Prev