• 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: number with one decimal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: number with one decimal


  • Subject: Re: number with one decimal
  • From: Doug McNutt <email@hidden>
  • Date: Tue, 19 Jul 2011 18:33:30 -0600

At 09:31 +1000 7/20/11, Shane Stanley wrote:
>If you want to store precise integers, some kind of floating point type will
>do it with total precision up to a certain limit.

That limit is 52 bits for storage in a 64 bit long double. After that it will get rounded to approximately 15 decimal digits of precision; the exact rounding depends on the value.

The actual microprocessor handles 16 bit  longer numbers generated internally but I don't think AppleScript allows for storage, or later usage, of those - extended - results.

--

--> 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

References: 
 >Re: number with one decimal (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: number with one decimal
  • Next by Date: Follow on to "move a file to an external drive"
  • Previous by thread: Re: number with one decimal
  • Next by thread: Re: number with one decimal
  • Index(es):
    • Date
    • Thread