sqrt.asciidoc 417 B

123456789101112131415
  1. [[esql-sqrt]]
  2. === `SQRT`
  3. Returns the square root of a number. The input can be any numeric value, the return value
  4. is always a double.
  5. Square roots of negative numbers are NaN. Square roots of infinites are infinite.
  6. [source.merge.styled,esql]
  7. ----
  8. include::{esql-specs}/math.csv-spec[tag=sqrt]
  9. ----
  10. [%header.monospaced.styled,format=dsv,separator=|]
  11. |===
  12. include::{esql-specs}/math.csv-spec[tag=sqrt-result]
  13. |===