On Thu, 7 Apr 2016, oleg_komashko(a)ukr.net wrote:
It looks like the tokenizer
ignores brackets!
(10^-5)^2 outputs the same as
10^-5^2
There's a bug here alright, but parentheses are not ignored in
general:
? eval 3-2*4
-5
? eval (3-2)*4
4
The bug is specific to successive instances of the exponentiation
operator, a case which requires special treatment to impose the most
common order of evaluation of x^y^z. Apparently a (fairly recent)
change to the "genr" apparatus has broken the special treatment code.
It'll be fixed soon.
Allin