mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 09:54:06 -04:00
Relates to #100558 These functions were mostly done already. I added descriptions and argument descriptions for most of them, otherwise not much work.
20 lines
464 B
Text
20 lines
464 B
Text
[discrete]
|
|
[[esql-sin]]
|
|
=== `SIN`
|
|
[.text-center]
|
|
image::esql/functions/signature/sin.svg[Embedded,opts=inline]
|
|
|
|
https://en.wikipedia.org/wiki/Sine_and_cosine[Sine] trigonometric function. Input expected in radians.
|
|
|
|
[source.merge.styled,esql]
|
|
----
|
|
include::{esql-specs}/floats.csv-spec[tag=sin]
|
|
----
|
|
[%header.monospaced.styled,format=dsv,separator=|]
|
|
|===
|
|
include::{esql-specs}/floats.csv-spec[tag=sin-result]
|
|
|===
|
|
|
|
Supported types:
|
|
|
|
include::types/sin.asciidoc[]
|