[Top][All Lists]

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

Re: view/edit large files

From: Eli Zaretskii
Subject: Re: view/edit large files
Date: Tue, 10 Feb 2009 11:54:34 +0200

> From: Miles Bader <address@hidden>
> Cc: Stefan Monnier <address@hidden>, address@hidden,
>         address@hidden
> Date: Tue, 10 Feb 2009 18:23:58 +0900
> "floats" can exactly represent integers if the integer quantity fits
> within the mantissa.  For an IEEE double, that's 52 bits, which is
> enough for many uses

Right, but is it enough in this case?  I don't know, it all depends on
what kind of time resolution is needed.  Also, time values are
frequently used in arithmetic operations that could lose a few low

> (for an inode number, I'm not sure -- obviously
> it's enough for 32-bit inode numbers, but possibly not some 64-bit
> numbers

Windows NTFS uses 64-bit numbers for the ``file index'' we use as the
replacement for inode.

> ... OTOH, neither is a cons of integers).

That's why we use a cons of 3 numbers.

reply via email to

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