Subject: bug#24561: Unmathematical bc exponentiation behavior

From: Bernhard Voelker <[email-masked]>
Date: Wed, 28 Sep 2016 23:18:10 +0200

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 "[email-masked]".
Therefore, I'm marking this as 'not a bug' here, closing the issue.

Have a nice day,
Berny