ATANH
Updated 2024-03-23 22:07:39.277000
Syntax
SELECT [westclintech].[wct].[ATANH] (
<@Number, float,>)
Description
Use the scalar function ATANH to calculate the inverse hyperbolic tangent of a number. The number must be between -1 and 1 (excluding -1 and 1).
Arguments
@Number
is any real number greater than -1 and less than 1. @Number is an expression of type float or of a type that can be implicitly converted to float.
Return Type
float
Remarks
ATANH = Log((1 + @Number) / (1 - @Number)) / 2.
Examples
SELECT wct.ATANH(cos(45));
Here is the result set.
{"columns":[{"field":"column 1","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"column 1":"0.583662051991022"}]}