mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 19:31:14 -03:00
Make builtin math the default implementation
Remove our `math` function that wraps `bc`. Our math builtin is now good enough that it can be the default implementation. Another step in resolving #3157.
This commit is contained in:
@@ -6,7 +6,7 @@ math '10 % 6'
|
||||
math -s0 '10 % 6'
|
||||
math '23 % 7'
|
||||
math --scale=6 '5 / 3 * 0.3'
|
||||
math "1 + 1233242342353453463458972349873489273984873289472914712894791824712941"
|
||||
math "7^2"
|
||||
math -1 + 1
|
||||
math '-2 * -2'
|
||||
math 5 \* -2
|
||||
|
||||
Reference in New Issue
Block a user