C Library Functions  - asinh (3)

NAME

ASINH(3) - [MATHEMATICS:TRIGONOMETRIC] Inverse hyperbolic sine function

SYNOPSIS

result = asinh(x)

         elemental TYPE(kind=KIND) function asinh(x)

TYPE(kind=KIND) :: x

CHARACTERISTICS

o X may be any real or complex type
o KIND may be any kind supported by the associated type
o The returned value will be of the same type and kind as the argument

    X

DESCRIPTION

ASINH(3) computes the inverse hyperbolic sine of X.

OPTIONS

o X : The value to compute the inverse hyperbolic sine of

RESULT

The result has a value equal to a processor-dependent approximation to the inverse hyperbolic sine function of X.

If X is complex, the imaginary part of the result is in radians and lies between -PI/2 <= AIMAG(ASINH(X)) <= PI/2.

EXAMPLES

Sample program:

    program demo_asinh
    use,intrinsic :: iso_fortran_env, only : dp=>real64,sp=>real32
    implicit none
    real(kind=dp), dimension(3) :: x = [ -1.0d0, 0.0d0, 1.0d0 ]

! elemental write (*,*) asinh(x)

end program demo_asinh

Results:

      -0.88137358701954305  0.0000000000000000  0.88137358701954305

STANDARD

Fortran 2008

SEE ALSO

Inverse function: SINH(3)

RESOURCES

o Wikipedia:hyperbolic functions
fortran-lang intrinsic descriptions (license: MIT) @urbanjost


Nemo Release 3.1 asinh (3) July 22, 2023
Generated by manServer 1.08 from 45847715-9d93-4887-bdee-aff221401c74 using man macros.