From 68e88055cec1ab1b2f9b0fbbedd399c88bccb0aa Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Sun, 11 Nov 2001 10:42:08 +0000 Subject: [PATCH] Documenting a bunch of mathematical functions: sinh, cosh, tanh, asinh, acosh, atanh The last three are not available on windows... git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@61964 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/math.xml | 163 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 158 insertions(+), 5 deletions(-) diff --git a/functions/math.xml b/functions/math.xml index c34880ca50..857ce2a85d 100644 --- a/functions/math.xml +++ b/functions/math.xml @@ -1,5 +1,5 @@ - + Mathematical Functions Math @@ -162,10 +162,37 @@ - Returns the arc cosine of arg in radians. + Returns the arc cosine of arg in radians. - See also asin and atan. + See also acosh, asin + and atan. + + + + + + + acosh + Inverse hyperbolic cosine + + + Description + + + float acosh + float arg + + + + Returns the inverse hyperbolic cosine of + arg, i.e. the value whose + hyperbolic cosine is arg. + + ¬e.no-windows; + + See also acos, asin + and atan. @@ -187,7 +214,34 @@ Returns the arc sine of arg in radians. - See also acos and atan. + See also asinh, acos + and atan. + + + + + + + asinh + Inverse hyperbolic sine + + + Description + + + float asinh + float arg + + + + Returns the inverse hyperbolic sine of + arg, i.e. the value whose + hyperbolic sine is arg. + + ¬e.no-windows; + + See also asin, acos + and atan. @@ -209,7 +263,34 @@ Returns the arc tangent of arg in radians. - See also asin and acos. + See also atanh, asin + and acos. + + + + + + + atanh + Inverse hyperbolic tangent + + + Description + + + float atanh + float arg + + + + Returns the inverse hyperbolic tangent of + arg, i.e. the value whose + hyperbolic tangent is arg. + + ¬e.no-windows; + + See also atan, asin + and acos. @@ -359,6 +440,30 @@ $binary = base_convert ($hexadecimal, 16, 2); + + + cosh + Hyperbolic cosine + + + Description + + + float cosh + float arg + + + + Returns the hyperbolic cosine of arg, + defined as (exp(arg) + exp(-arg))/2. + + + See also cos, acosh, + sin and tan. + + + + decbin @@ -1190,6 +1295,30 @@ $foo = round(1241757, -3); // $foo == 1242000 + + + sinh + Hyperbolic sine + + + Description + + + float sinh + float arg + + + + Returns the hyperbolic sine of arg, + defined as (exp(arg) - exp(-arg))/2. + + + See also sin, asinh, + cos and tan. + + + + sqrt @@ -1268,6 +1397,30 @@ $randval = rand(); + + + tanh + Hyperbolic tangent + + + Description + + + float tanh + float arg + + + + Returns the hyperbolic tangent of arg, + defined as sinh(arg)/cosh(arg). + + + See also tan, atanh, + sin and cos. + + + +