elasticsearch/docs/reference/esql/functions/math-functions.asciidoc
Iván Cea Fontenla 62b372b4dc
ESQL: CBRT function (#108574)
- Added the cube root function to ESQL (`CBRT(x)`). Nearly identical to SQRT, but without the negative numbers exception
- Added docs generation support for Windows end lines (CRLF), as within the examples, it was writing the "\r" without the "\n" (Which was being converted to "\\n"), and some other inconsistencies
- Some updates to `package-info.java` documentation over how to create functions
- Fixes https://github.com/elastic/elasticsearch/issues/108675

Functions issue: https://github.com/elastic/elasticsearch/issues/98545
2024-05-15 16:50:15 +02:00

58 lines
1.3 KiB
Text

[[esql-math-functions]]
==== {esql} mathematical functions
++++
<titleabbrev>Mathematical functions</titleabbrev>
++++
{esql} supports these mathematical functions:
// tag::math_list[]
* <<esql-abs>>
* <<esql-acos>>
* <<esql-asin>>
* <<esql-atan>>
* <<esql-atan2>>
* <<esql-cbrt>>
* <<esql-ceil>>
* <<esql-cos>>
* <<esql-cosh>>
* <<esql-e>>
* <<esql-floor>>
* <<esql-log>>
* <<esql-log10>>
* <<esql-pi>>
* <<esql-pow>>
* <<esql-round>>
* <<esql-signum>>
* <<esql-sin>>
* <<esql-sinh>>
* <<esql-sqrt>>
* <<esql-tan>>
* <<esql-tanh>>
* <<esql-tau>>
// end::math_list[]
include::layout/abs.asciidoc[]
include::layout/acos.asciidoc[]
include::layout/asin.asciidoc[]
include::layout/atan.asciidoc[]
include::layout/atan2.asciidoc[]
include::layout/cbrt.asciidoc[]
include::layout/ceil.asciidoc[]
include::layout/cos.asciidoc[]
include::layout/cosh.asciidoc[]
include::layout/e.asciidoc[]
include::layout/floor.asciidoc[]
include::layout/log.asciidoc[]
include::layout/log10.asciidoc[]
include::layout/pi.asciidoc[]
include::layout/pow.asciidoc[]
include::layout/round.asciidoc[]
include::layout/signum.asciidoc[]
include::layout/sin.asciidoc[]
include::layout/sinh.asciidoc[]
include::layout/sqrt.asciidoc[]
include::layout/tan.asciidoc[]
include::layout/tanh.asciidoc[]
include::layout/tau.asciidoc[]