• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: get eof real?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get eof real?


  • Subject: Re: get eof real?
  • From: "John W. Baxter" <email@hidden>
  • Date: Mon, 29 Sep 2003 10:45:06 -0700
  • Envelope-to: email@hidden

On 9/28/2003 21:11, "Christopher Nebel" <email@hidden> wrote:

> Particularly astute readers may notice a problem here: since a floating
> point number needs both exponent and mantissa bits, a 64-bit floating
> point number can't accurately store all possible 64-bit integers,
> because there have to be fewer than 64 mantissa bits. In this case,
> there are 53. Therefore, because the "get eof" result is turned into a
> real, it will not be precisely accurate if the file size is bigger than
> 53 bits, i.e. 2^53 bytes, aka 8 exabytes, aka 8192 terabytes, or about
> 8 million gigabytes. Since most people don't have hard drives that
> big, it's not a significant issue yet, but it's something to watch out
> for. We hope to have a fix by the time it becomes a real issue for
> normal users.

A sufficiently sparse file (and that's VERY sparse these days, and I don't
know if any present file systems would actually build one) could indeed have
a large enough EOF to cause a problem.

--John (the future lies ahead) Baxter
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: get eof real? (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: get eof real?
  • Next by Date: Re: "starts with" any list item
  • Previous by thread: Re: get eof real?
  • Next by thread: Re: get eof real?
  • Index(es):
    • Date
    • Thread