fish-shell/tests/math.in
Fabian Homborg 7ffcb828fe Add test for long numbers in math
This should catch the error in 26e781ef5a.
2016-12-29 14:00:15 +01:00

10 lines
207 B
Fish

math 3 / 2
math 10/6
math -s0 10 / 6
math -s3 10/6
math '10 % 6'
math -s0 '10 % 6'
math '23 % 7'
math -s6 '5 / 3 * 0.3'
true
math "1 + 1233242342353453463458972349873489273984873289472914712894791824712941"