Logo

ACOSH

Updated 2023-10-13 14:26:31

Syntax

SELECT [westclintech].[wct].[ACOSH] (
   <@Number, float,>)

Description

Use the scalar function ACOSH to calculate the inverse hyperbolic cosine of a number. The number must be greater than or equal to 1.

Arguments

@Number

is any real number greater than or equal to 1. @Number is an expression of type float or of a type that can be implicitly converted to float.

Return Type

float

Remarks

ACOSH = Log(@Number + (@Number * @Number - 1) ^ (1 / 2)).

Examples

SELECT wct.ACOSH(PI());

Here is the result set.

{"columns":[{"field":"column 1","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"column 1":"1.81152627246085"}]}