log10.asciidoc 555 B

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