• 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: String to real conversion question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String to real conversion question


  • Subject: Re: String to real conversion question
  • From: "Mark J. Reed" <email@hidden>
  • Date: Mon, 10 May 2010 13:42:03 -0400

My system is a new Mac Mini, which somewhat surprisingly seems to be 32-bit.

Does the ASLG say what should happen in cases like this?
Real-to-integer conversion is almost guaranteed to lose information,
but when even the integer closest to the source value is not
representable, I'd expect it to at least warn if not fail outright.

On Monday, May 10, 2010, Doug McNutt <email@hidden> wrote:
> At 18:50 +0200 5/10/10, Thomas Fischer wrote:
> So it seems that Michelle has a somewhat special system.
> And by the way, I get the German equivalent of "Can't make 9.998765432E+9 into type integer." with Smile.
> So, what's going on?
>
> Does it matter if the machine is 32 or 64 bit hardware?
>
> Wasn't it once the case that integers were limited to less than 31 bits plus sign in AppleScript? I remember something like 30 bits to allow for a flag but perhaps that was Hypercard.
>
> --
>
> --> A fair tax is one that you pay but I don't <--
>  _______________________________________________
> 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
>

--
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: String to real conversion question (From: Yvan KOENIG <email@hidden>)
 >Re: String to real conversion question (From: Michelle Steiner <email@hidden>)
 >Re: String to real conversion question (From: Yvan KOENIG <email@hidden>)
 >Re: String to real conversion question (From: Michelle Steiner <email@hidden>)
 >Re: String to real conversion question (From: "Mark J. Reed" <email@hidden>)
 >Re: String to real conversion question (From: Yvan KOENIG <email@hidden>)
 >Re: String to real conversion question (From: "Mark J. Reed" <email@hidden>)
 >Re: String to real conversion question (From: Thomas Fischer <email@hidden>)

  • Prev by Date: Re: Scripting Numbers
  • Next by Date: Rép: Scripting Numbers
  • Previous by thread: Re: String to real conversion question
  • Next by thread: Photoshop CS5 - applescript broken ?
  • Index(es):
    • Date
    • Thread