Dutch PHP Conference 2025 - Call For Papers

asinh

(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)

asinhArco seno hiperbólico

Descripción

asinh(float `\$num`): float

Devuelve el arco seno hiperbólico de `num`, es decir, el valor cuyo seno hiperbólico es `num`.

Parámetros

`num`

El argumento a procesar

Valores devueltos

El arco seno hiperbólico de `num`

Ver también

`The correct implementation of asinh(x) for Windows plataform is:-------------------------------------------------------function asinh(\$x){ return ln(\$x + sqrt(1 + pow(\$x, 2)));}function ln(\$x){ return \$x = log(\$x)/log(M_E);}--------------------------------------------------------The worksheet above includes a comparation about the native asinh(x) and the implemented version using LN and LOG (like Snoyes posted on 27-Dec-2005 07:42) http://www.mavadesign.com.br/allan/asinh(x).xlsThis implementation using LN, give THE SAME results that function asinh(x) linux native.Allan Patrick EngelCuritiba - Paraná - Brasil`
`asinh for windows:The definition for asinh is asinh(z) = log(z + sqrt(z^2 + 1))The built-in math functions and operators give poor results for small values of z. The BCMath version produces closer results, but still quite distant if z < 1. A BCMath version of the log function might help.if (!function_exists("asinh")) { function asinh(\$z) { return log(\$z + sqrt(\$z^2 +1)); }}if (!function_exists("bcasinh")) { function bcasinh(\$z) { return log(bcadd(\$z, bcsqrt(bcadd(bcpow(\$z, 2), 1)))); }}`