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

This documentation is for the unreleased development version of jOOQ. Click on the above version links to get this documentation for a supported version of jOOQ.

ATANH

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

The ATANH() function calculates the hyperbolic arc tangent (or inverse hyperbolic tangent) of a numeric value.

SELECT atanh(0.5);
create.select(atanh(0.5)).fetch();

The result being

+--------------------+
|              atanh |
+--------------------+
| 0.5493061443340548 |
+--------------------+

Dialect support

This example using jOOQ:

atanh(x)

Translates to the following dialect specific expressions:

ASE, Access, SQLDataWarehouse, SQLServer

(log(((1 + x) / (1 - x))) / 2)

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

(ln(((1 + x) / (1 - x))) / 2)

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

atanh(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