Clicky

Fortran Wiki
tan (changes)

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

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

Description

tan(x) computes the tangent of x.

Standard

FORTRAN 77 and(削除) later (削除ここまで)(追記) later. (追記ここまで)(追記) For (追記ここまで)(追記) a (追記ここまで)(追記) complex (追記ここまで)(追記) argument, (追記ここまで)(追記) Fortran 2008 (追記ここまで)(追記) or later. (追記ここまで)

Class

(削除) Elemental function (削除ここまで)(追記) Elemental function (追記ここまで)

Syntax

result = tan(x)

Arguments

  • x - The type shall be real(追記) or (追記ここまで)(追記) complex (追記ここまで).

Return value

The return value(削除) is (削除ここまで)(追記) has (追記ここまで)(削除) of (削除ここまで)(追記) same (追記ここまで) type(追記) and (追記ここまで)(追記) kind (追記ここまで)(追記) as (追記ここまで)(追記) X. (追記ここまで)(削除) real (削除ここまで)(削除) . The kind type parameter is the same as (削除ここまで)(削除) x (削除ここまで)(削除) . (削除ここまで)

Example

program test_tan
 real(8) :: x = 0.165_8
 x = tan(x)
end program test_tan

See also

atan (追記) , (追記ここまで)(追記) cos (追記ここまで)(追記) , (追記ここまで)(追記) sin (追記ここまで)

category: intrinsics

Revised on September 19, 2010 10:22:14 by Jason Blevins (174.101.53.244) (520 characters / 0.0 pages)
Edit | Back in time (2 revisions) | Hide changes | History | Views: Print | TeX | Source | Linked from: Intrinsic procedures, Fortran 2008, atan, cos, sin

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