• 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: "Mark J. Reed" <email@hidden>
  • Date: Tue, 19 Jul 2011 01:00:28 -0400

On Mon, Jul 18, 2011 at 9:00 PM, Bill Briggs <email@hidden> wrote:
If you crunch a lot of numbers on your Mac, you owe it to yourself to get familiar with "bc".

... or dc, which the original bc was just a friendlier front-end for. 

 Very handy tools, but inefficient if you're having AS fire up the shell and the calculator program for every operation.  If that's a concern, you may be better off using a language that has direct access to the GNU Multiple Precision (GMP) library.

Also, bc and dc have other limitations not shared by floating-point implementations; for instance, they can't deal with non-integral exponents.  So there's a square root operation, but for any other roots, you're out of luck.

--
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: 
 >number with one decimal (From: Willem <email@hidden>)

  • Prev by Date: Re: number with one decimal
  • Next by Date: Re: Indesign data merge
  • Previous by thread: Re: number with one decimal
  • Next by thread: Re: number with one decimal
  • Index(es):
    • Date
    • Thread