bug#24561: Unmathematical bc exponentiation behavior
From:
Bernhard Voelker
Subject:
bug#24561: Unmathematical bc exponentiation behavior
Date:
Wed, 28 Sep 2016 23:18:10 +0200
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
tag 24561 notabug
close 24561
stop
On 09/28/2016 05:48 PM, Martens, Tobias wrote:
> echo "-(1)^2" | bc
> 1
Andreas already gave the answer: operator precedence (see 'man bc').
Besides, bc(1) is not part of GNU coreutils, and a better address for
such a report would have been "address@hidden".
Therefore, I'm marking this as 'not a bug' here, closing the issue.
Have a nice day,
Berny