• 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: (was Int Function) mod bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (was Int Function) mod bug


  • Subject: Re: (was Int Function) mod bug
  • From: Chris Page <email@hidden>
  • Date: Tue, 20 Aug 2002 06:50:57 -0700

On Monday, August 19, 2002, at 06:20 AM, has wrote:

Sad but true: almost any answer you get to a floating point calculation will be WRONG. (It's an inherent limitation of binary computing.)

Well, it's an inherent limitation of finite-precision computing. I'd like to see AppleScript support unlimited-precision integers (aka "bignums", often implemented as vectors of integers) and rationals (numbers represented as the ratio between two integers).

When performing math operations, conversions between integers, bignums, and rationals can happen automatically when necessary to preserve precision.

--
Chris Page - Mac OS Lead, Palm Desktop - Palm, Inc.

Tip of The Day: There is no such thing as "High ASCII". Any character value outside the range 0-127 is by definition not ASCII.
_______________________________________________
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: (was Int Function) mod bug (From: has <email@hidden>)

  • Prev by Date: Some questions for scripting in Quark
  • Next by Date: Flashing a geforce2 card
  • Previous by thread: Re: (was Int Function) mod bug
  • Next by thread: Re: (was Int Function) mod bug
  • Index(es):
    • Date
    • Thread