Re: File size limit
- Posted by Kat <KAT12 at coosa??.net> Jun 11, 2008
- 749 views
Matt Lewis wrote: > > Kat wrote: > > > > > > You can't seek over 2gbytes, but you can getc() and gets() to any length. So > > i made a procedure to getc() the number of bytes i wanted to seek(), and > > then > > there i was. > > > > I have asked for larger file numbers too, but i don't think we will get them > > in Eu v4. Even if we did, we could not do basic full precision integer math > > on the numbers over 4gigabytes (there are such libs in the archives tho). > > Larger file numbers are probably pretty easy (I think it's just increasing an > array size and updating a macro). How many do you want? I don't recall this > specifically (at least not specifically). > > You can do full precision integer math using atoms to much larger sizes > than 2^32. The limit on precision is 2^53, or: > > 9,007,199,254,740,990 > > That's over 9 quadrillion, or about 9 terabytes (in disk manufacturer style > units). Granted, this isn't using native machine integers, but probably > faster than the above quoted libraries. But i thought Eu's switch from integer to floating point atoms caused a drop in the number of decimal digits at the same count as the integer type would go screwy. No? Seems you are saying no. Yes? So all we need is the wrapping of the 64bit file calls in winxp/vista/nix api? Kat