The first release of version 12. This version has different expression evaluator. The unary minus has priority like in VB6.
1) Unary minus: -2^2 return -4 (previous versions return 4, because unary minus processed before exponent (-4)^2.
? -2^-3^-4
-0,991479137495678
2) Previous versions return 0, because the second minus was not unary so we get 4-4 = 0. Now -2^2 return as -(2^2) and the same for the second -(2^2), so we have -4-4=-8
? -2^2-2^2
-8
Also there are more new things. But still the work is in progress
Δεν υπάρχουν σχόλια:
Δημοσίευση σχολίου
You can feel free to write any suggestion, or idea on the subject.