Login     Register

        Contact Us     Search

XLeratorDB/math Documentation

SQL Server ATANH function


ATANH
 
Updated: 17 August 2010
Use ATANH to calculate the inverse hyperbolic tangent of a number. The number must be between -1 and 1 (excluding -1 and 1).
Syntax
SELECT [westclintech].[wct].[ATANH] (
   <@Number, float,>)
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 Types
float
Remarks
·         ATANH = Log((1 + @Number) / (1 - @Number)) / 2
Example
 
SELECT wct.ATANH(cos(45))
Here is the result set
----------------------
0.583662051991022
 

(1 row(s) affected)



Copyright 2008-2024 Westclintech LLC         Privacy Policy        Terms of Service