summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2017-02-04 00:11:19 -0600
committerNicolas Williams <nico@cryptonector.com>2017-02-04 00:11:46 -0600
commit597c1f6667746058e88a9f6fb0415f80fe114b18 (patch)
tree792f708518818caedf0a6021949b145612472544 /docs
parent125071cf005e687d4beba9d5822b1c6a72d7d14c (diff)
Add more missing math functions
Diffstat (limited to 'docs')
-rw-r--r--docs/content/3.manual/manual.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml
index c6cffcb0..baad2ad3 100644
--- a/docs/content/3.manual/manual.yml
+++ b/docs/content/3.manual/manual.yml
@@ -2669,13 +2669,30 @@ sections:
that take a single input argument (e.g., `sin()`) are available as
zero-argument jq functions. C math functions that take two input
arguments (e.g., `pow()`) are available as two-argument jq
- functions that ignore `.`.
+ functions that ignore `.`. C math functions that take three input
+ arguments are available as three-argument jq functions that ignore
+ `.`.
Availability of standard math functions depends on the
availability of the corresponding math functions in your operating
system and C math library. Unavailable math functions will be
defined but will raise an error.
+ One-input C math functions: `acos` `acosh` `asin` `asinh` `atan`
+ `atanh` `cbrt` `ceil` `cos` `cosh` `erf` `erfc` `exp` `exp10`
+ `exp2` `expm1` `fabs` `floor` `gamma` `j0` `j1` `lgamma` `log`
+ `log10` `log1p` `log2` `logb` `nearbyint` `pow10` `rint` `round`
+ `significand` `sin` `sinh` `sqrt` `tan` `tanh` `tgamma` `trunc`
+ `y0` `y1`.
+
+ Two-input C math functions: `atan2` `copysign` `drem` `fdim`
+ `fmax` `fmin` `fmod` `frexp` `hypot` `jn` `ldexp` `modf`
+ `nextafter` `nexttoward` `pow` `remainder` `scalb` `scalbln` `yn`.
+
+ Three-input C math functions: `fma`.
+
+ See your system's manual for more information on each of these.
+
- title: 'I/O'
body: |