RE: FileSystemUtils

2005-11-22 Thread James Carman
The maximum value for a long is 92,233,720,368,547,758,07l (that's roughly 92 quintillion I believe). One gigabyte = 1,073,741,824 bytes. So, you could potentially represent 8,589,934,592 gigabytes using a long. Is my math off here? -Original Message- From: Marcelo Nery dos Santos [ma

RE: FileSystemUtils

2005-11-22 Thread Tim Roberts
You may be able to use BigInteger (arbitrary precision). -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: 22 November 2005 20:35 To: Jakarta Commons Developers List Cc: commons-dev@jakarta.apache.org Subject: Re: FileSystemUtils Your welcome :) (I wrote that

Re: FileSystemUtils

2005-11-22 Thread Frank W. Zammetti
Your welcome :) (I wrote that function :) ) I think your right, a double version would certainly be appropriate. Kind of ashamed I missed that actually :( I wonder though, what would be the down-side to just having a double version only? (aside from backward-compatibility at this point)... Would

Re: FileSystemUtils is probably buggy...

2005-05-05 Thread Frank W. Zammetti
Good call on point 1... that never even occurred to me but your absolutely right. That's typical "America is the only country in the world" thinking I suppose :) The second point I actually have to look at the code some more and remember what I was thinking because I can't imagine ever thinkin