log10.asciidoc 544 B

12345678910111213141516171819202122
  1. [[esql-log10]]
  2. === `LOG10`
  3. [.text-center]
  4. image::esql/functions/signature/log10.svg[Embedded,opts=inline]
  5. Returns the log base 10. The input can be any numeric value, the return value
  6. is always a double.
  7. Logs of negative numbers are NaN. Logs of infinites are infinite, as is the log of 0.
  8. [source.merge.styled,esql]
  9. ----
  10. include::{esql-specs}/math.csv-spec[tag=log10]
  11. ----
  12. [%header.monospaced.styled,format=dsv,separator=|]
  13. |===
  14. include::{esql-specs}/math.csv-spec[tag=log10-result]
  15. |===
  16. Supported types:
  17. include::types/log10.asciidoc[]