ACOTH
Supported by ✅ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
The ACOTH() function calculates the hyperbolic arc cotangent (or inverse hyperbolic cotangent) of a numeric value.
SELECT acoth(2);
create.select(acoth(2)).fetch();
The result being
+--------------------+ | acoth | +--------------------+ | 0.5493061443340548 | +--------------------+
Dialect support
This example using jOOQ:
acoth(x)
Translates to the following dialect specific expressions:
ASE, Access, SQLDataWarehouse, SQLServer
(log(((x + 1) / (x - 1))) / 2)
Aurora MySQL, Aurora Postgres, BigQuery, ClickHouse, DB2, Databricks, DuckDB, Exasol, Firebird, H2, HSQLDB, Hana, MariaDB, MemSQL, MySQL, Oracle, Postgres, Redshift, SQLite, Snowflake, Spanner, Sybase, Teradata, Vertica, YugabyteDB
(ln(((x + 1) / (x - 1))) / 2)
CockroachDB
(ln(CAST(((x + 1) / (x - 1)) AS decimal)) / 2)
Informix
(logn(((x + 1) / (x - 1))) / 2)
Trino
acoth(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!