gives you 4, and not -4.echo '-2^2' | bc
Abigail
In reply to Re: Operator Precedence (unary negation and exponentiation)
by Abigail-II
in thread Operator Precedence (unary negation and exponentiation)
by Elliott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |