• 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: Very strange dates - BUG
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very strange dates - BUG


  • Subject: Re: Very strange dates - BUG
  • From: Doug McNutt <email@hidden>
  • Date: Thu, 30 Jan 2003 14:31:10 -0700

> but not exactly half way between between
>the "dawn of time" - Jan 1, 1904 - and the "end of time" - Feb 5(?) 2040. I
>wonder what accounts for the discrepancy.

AppleScript switches from integer to floating point well before 2^31-1 and I have often wondered why. Is it possible that some upper bits are being used for flags the way the Dec10 used the high order bit to indicate a float?

If so, an unsigned long - max 2^32-1 - might be problematical when used as an integer in a calculation rather than a date.

--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
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: Very strange dates - BUG (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Photoshop opening file
  • Next by Date: UI Scripting: Save as PDF with Bookmarks
  • Previous by thread: Re: Very strange dates - BUG
  • Next by thread: Re: Very strange dates - BUG
  • Index(es):
    • Date
    • Thread