[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] floating point arithmetic
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] floating point arithmetic |
Date: |
Tue, 31 Oct 2017 16:18:25 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 10/31/17 5:38 AM, Jerry wrote:
> Thanks to everyone who replied. I appreciate it. However, I am still wondering
> if Bash will ever support true floating point arithmetic natively? I was
> advised to switch to "ksh93"; however, I have been trying hard to learn bash,
> and I really don't want to switch if not absolutely necessary.
I don't think the class of problems that native floating point arithmetic
would solve (as opposed to using something like awk/bc/dc) is large
enough to compensate for the development effort. If someone else wanted
to take a crack at it, though, I'd most likely incorporate the results.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/