Re: String to real conversion question
Re: String to real conversion question
- Subject: Re: String to real conversion question
- From: Christopher Nebel <email@hidden>
- Date: Mon, 10 May 2010 18:12:19 -0700
On May 10, 2010, at 10:30 AM, Doug McNutt 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?
Give that man a prize. It's a bug in the 64-bit version of the Apple Event Manager -- 32-bit will correctly fail if the input is out of range. Now written up as <radar:7966416> for those who want to keep track.
> 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.
AppleScript uses that system (see "tagged pointers") as well -- the largest possible integer is 2^29 - 1.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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