mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 02:13:33 -04:00
Improve the docs for is_nan, is_finite, is_infinite functions. This also adjusts the CamelCase to snake_case conversion, to not consider the last capital letter (like in `IsNaN`).
29 lines
438 B
Text
29 lines
438 B
Text
[discrete]
|
|
[[esql-is_finite]]
|
|
=== `IS_FINITE`
|
|
|
|
*Syntax*
|
|
|
|
[.text-center]
|
|
image::esql/functions/signature/is_finite.svg[Embedded,opts=inline]
|
|
|
|
*Parameters*
|
|
|
|
`n`::
|
|
Numeric expression. If `null`, the function returns `null`.
|
|
|
|
*Description*
|
|
|
|
Returns a boolean that indicates whether its input is a finite number.
|
|
|
|
*Supported types*
|
|
|
|
include::types/is_finite.asciidoc[]
|
|
|
|
*Example*
|
|
|
|
[source,esql]
|
|
----
|
|
ROW d = 1.0
|
|
| EVAL s = IS_FINITE(d/0)
|
|
----
|