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-30 22:34:29 +08:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
6c4a51d56e
fish-shell
/
tests
/
math.out
10 lines
97 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
1.666
4
4
2
.499999
Add test for long numbers in math This should catch the error in 26e781ef5a66a776310a4a47ef02f122e1dc0170.
2016-12-29 21:00:15 +08:00
1233242342353453463458972349873489273984873289472914712894791824712942
Reference in New Issue
Copy Permalink