This website requires JavaScript.
Explore
Help
Register
Sign In
github-mirror
/
fish-shell
Watch
2
Star
0
Fork
0
You've already forked fish-shell
mirror of
https://github.com/fish-shell/fish-shell.git
synced
2024-11-25 00:38:53 +08:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
d10decabda
fish-shell
/
tests
/
math.out
15 lines
44 B
Plaintext
Raw
Normal View
History
Unescape
Escape
add floating point output to `math` command This makes it easy for the user to request floating point output with the desired number of digits after the decimal point (not to be confused with significant digits). Note that this is just a thin wrapper so someone can say `math -s3 10 / 3` rather than `math "scale=3; 10 /3"`. Resolves #1643
2016-05-03 11:53:48 +08:00
1
1
1
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.
2017-08-24 08:32:49 +08:00
1.667
add floating point output to `math` command This makes it easy for the user to request floating point output with the desired number of digits after the decimal point (not to be confused with significant digits). Note that this is just a thin wrapper so someone can say `math -s3 10 / 3` rather than `math "scale=3; 10 /3"`. Resolves #1643
2016-05-03 11:53:48 +08:00
4
4
2
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.
2017-08-24 08:32:49 +08:00
0.500000
49
fix `math` regression The previous change to use `argparse` for parity with every other builtin and function introduced a regression. Invocations that start with a negative number can fail because the negative value looks like an invalid flag.
2017-07-15 07:03:31 +08:00
0
4
-10
-2
-8
Reference in New Issue
Copy Permalink