Fixes #6280 : Added right associativity to 'pow' function

This commit is contained in:
Ankush Patil
2019-11-09 11:24:33 +05:30
committed by ridiculousfish
parent 91bda38d57
commit ee982c4f6c
2 changed files with 19 additions and 2 deletions

View File

@@ -59,6 +59,11 @@ math '-10^15'
# CHECK: 100000000000000
# CHECK: -1000000000000000
math 3^0.5^2
math -2^2
# CHECK: 1.316074
# CHECK: 4
math -s0 '1.0 / 2.0'
math -s0 '3.0 / 2.0'
math -s0 '10^15 / 2.0'