Re: String to real conversion question
Re: String to real conversion question
- Subject: Re: String to real conversion question
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 10 May 2010 23:39:05 -0400
On Mon, May 10, 2010 at 11:26 PM, Mark J. Reed <email@hidden> wrote:
> On 10.4.11, you get the maximum integer value for any overflow. On
> 10.6, you seem to get the lower 31 bits of the overflowing value.
Well, lower 32. It's just that the 32nd bit in Yvan's example
happened to be zero. Feed it a value with a 1 there and you get a
negative result:
$ osascript -e '16441216376 as integer'
-7.38652808E+8
--
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