Re: number with one decimal
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