Clicky

Fortran Wiki
tanh (Rev #1, changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #0 to #1: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

tanh(x) computes the hyperbolic tangent of x.

Standard

Fortran 77 and later

Class

Elemental function

Syntax

x = tanh(x)

Arguments

  • x - The type shall be real.

Return value

The return value is of type real and lies in the range - 1 \\leq tanh(x) \\leq 1.

Example

program test_tanh
 real(8) :: x = 2.1_8
 x = tanh(x)
end program test_tanh

See also

atanh

category: Intrinsics

Revision from April 26, 2009 19:29:34 by Jason Blevins
Forward in time (3 more) | See current | History | Rollback | View: Source | Linked from: Intrinsic procedures, Fortran 2008, atanh

AltStyle によって変換されたページ (->オリジナル) /