• 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: iPhoto returns a real number as a photo id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhoto returns a real number as a photo id


  • Subject: Re: iPhoto returns a real number as a photo id
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 16 Jun 2010 08:35:01 -0400

On Wed, Jun 16, 2010 at 6:43 AM, Mark J. Reed <email@hidden> wrote:
> Which means if iPhoto is really handing back 64-bit integers that are
> getting coerced to floating point, then you could potentially have
> id's that are distinct within iPhoto show up as the same value in AS.
> If it's just reusing internal pointers for the purpose, however, this
> is unlikely, since objects will necessarily be separated in memory by
> the size of their representation.

To be clear: the indications are that iPhoto is handing back 32-bit
integers, not 64-bit ones. The coercion to floating point done by
AppleScript in that case doesn't lose any information.    I only meant
to answer Shane's question about how coercion to floating point could
lose data; apologies for the FUD.

--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: iPhoto returns a real number as a photo id (From: has <email@hidden>)
 >Re: iPhoto returns a real number as a photo id (From: Shane Stanley <email@hidden>)
 >Re: iPhoto returns a real number as a photo id (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: iPhoto returns a real number as a photo id
  • Next by Date: How to kill AppleSpell from a script
  • Previous by thread: Re: iPhoto returns a real number as a photo id
  • Next by thread: Re: iPhoto returns a real number as a photo ID
  • Index(es):
    • Date
    • Thread