mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Fixes #6280 : Added right associativity to 'pow' function
This commit is contained in:
committed by
ridiculousfish
parent
91bda38d57
commit
ee982c4f6c
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user