Available in versions: Dev (3.21) | Latest (3.20) | 3.19 | 3.18 | 3.17

ACOSH

Supported by ✅ Open Source Edition   ✅ Express Edition   ✅ Professional Edition   ✅ Enterprise Edition

The ACOSH() function calculates the hyperbolic arc cosine (or inverse hyperbolic cosine) of a numeric value.

SELECT acosh(2);
create.select(acosh(2)).fetch();

The result being

+--------------------+
|              acosh |
+--------------------+
| 1.3169578969248166 |
+--------------------+

Dialect support

This example using jOOQ:

acosh(x)

Translates to the following dialect specific expressions:

Access

log((x + sqr(((x * x) - 1))))

ASE, SQLDataWarehouse, SQLServer

log((x + sqrt((square(x) - 1))))

Aurora MySQL, DB2, DuckDB, Exasol, H2, HSQLDB, Hana, MariaDB, MemSQL, MySQL, Oracle, Redshift, Sybase, Vertica, YugabyteDB

ln((x + sqrt(((x * x) - 1))))

Aurora Postgres, BigQuery, ClickHouse, CockroachDB, Databricks, Firebird, Informix, Postgres, SQLite, Snowflake, Spanner, Teradata, Trino

acosh(x)
Generated with jOOQ 3.21. Support in older jOOQ versions may differ. Translate your own SQL on our website

Feedback

Do you have any feedback about this page? We'd love to hear it!

The jOOQ Logo