On Mon, Sep 15, 2008 at 5:16 PM, Devon McCormick <[EMAIL PROTECTED]> wrote:
> Chris - maybe you shouldn't - what about large files?
>
> For files with sizes>2^32, you'll want to represent the size as a pair of
> integers the way the "bigfiles" module does.  Maybe you should keep it
> floating point and include a warning about the behavior to allow for this
> possibility.

The problem is that createjmf winds up calling OS functions for
some operations, and those OS functions do not do what you think
they might be doing when you give them the wrong data types.

Coercing floats to integer when calling the OS will fix the immediate
problem.  Supporting big files is a different issue and would probably
require using a different set of OS functions.

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to