aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/math.fish
Commit message (Collapse)AuthorAge
* add floating point output to `math` commandGravatar Kurtis Rader2016-05-03
| | | | | | | | | | | 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
* math: Join lines manuallyGravatar Fabian Homborg2015-11-19
| | | | | | This is an issue with 15-year old versions of bc that don't support BC_LINE_LENGTH. Closes #2548
* math: Avoid calling `env`Gravatar Fabian Homborg2015-09-27
|
* Making spacing of .fish files uniform.Gravatar Nicholas Maccharoli2015-08-08
|
* Revert "math.fish: support floating-point maths"Gravatar David Adam2014-09-27
| | | | | | | | | This reverts commit 7cad0069e8f4a652d0e22f1b0198f67399e80157. https://github.com/fish-shell/fish-shell/issues/1723 http://superuser.com/questions/31445/gnu-bc-modulo-with-scale-other-than-0 This is why we can't have nice things.
* math.fish: support floating-point mathsGravatar David Adam2014-09-27
| | | | | | | Closes #1643. Thanks to Mickaël RAYBAUD-ROIG (https://github.com/m-r-r) for the idea of printf.
* math.fish: exit if no output (e.g. from syntax error)Gravatar glennj2014-02-05
| | | | Closes #1175
* Math: disable bc multi-line output.Gravatar Derek Li2013-12-26
|
* remove trialing spaces #2Gravatar Grissiom2010-09-18
|
* Make all descriptions for function calls use the implicit translation from ↵Gravatar axel2007-01-16
| | | | | | the previous patch instead of explicitly using N_ darcs-hash:20070116012918-ac50b-c1c0df64333ad910ca81dbc86ad193ece6680722.gz
* Update documentation display code to run roff on the client system instead ↵Gravatar axel2006-11-18
| | | | | | of pregenerating documentation and compiling it into program binaries darcs-hash:20061117162438-ac50b-5c4c7f0bd8bf53a16e16ecfead9569e642b7160f.gz
* Add math shellscript function, which is a thin wrapper around bcGravatar axel2006-09-05
darcs-hash:20060904160023-ac50b-0d784182ca3930b0987d4338655b8717237e842c.gz