~ubuntu-branches/ubuntu/wily/julia/wily

« back to all changes in this revision

Viewing changes to deps/openlibm/slatec/ctanh.f

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2013-01-16 12:29:42 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130116122942-x86e42akjq31repw
Tags: 0.0.0+20130107.gitd9656f41-1
* New upstream snashot
* No longer try to rebuild helpdb.jl.
   + debian/rules: remove helpdb.jl from build-arch rule
   + debian/control: move back python-sphinx to Build-Depends-Indep
* debian/copyright: reflect upstream changes
* Add Build-Conflicts on libatlas3-base (makes linalg tests fail)
* debian/rules: replace obsolete USE_DEBIAN makeflag by a list of
  USE_SYSTEM_* flags
* debian/rules: on non-x86 systems, use libm instead of openlibm
* dpkg-buildflags.patch: remove patch, applied upstream
* Refreshed other patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
*DECK CTANH
 
2
      COMPLEX FUNCTION CTANH (Z)
 
3
C***BEGIN PROLOGUE  CTANH
 
4
C***PURPOSE  Compute the complex hyperbolic tangent.
 
5
C***LIBRARY   SLATEC (FNLIB)
 
6
C***CATEGORY  C4C
 
7
C***TYPE      COMPLEX (CTANH-C)
 
8
C***KEYWORDS  ELEMENTARY FUNCTIONS, FNLIB, HYPERBOLIC TANGENT
 
9
C***AUTHOR  Fullerton, W., (LANL)
 
10
C***DESCRIPTION
 
11
C
 
12
C CTANH(Z) calculates the complex hyperbolic tangent of complex
 
13
C argument Z.  Z is in units of radians.
 
14
C
 
15
C***REFERENCES  (NONE)
 
16
C***ROUTINES CALLED  CTAN
 
17
C***REVISION HISTORY  (YYMMDD)
 
18
C   770401  DATE WRITTEN
 
19
C   861211  REVISION DATE from Version 3.2
 
20
C   891214  Prologue converted to Version 4.0 format.  (BAB)
 
21
C***END PROLOGUE  CTANH
 
22
      COMPLEX Z, CI, CTAN
 
23
      SAVE CI
 
24
      DATA CI /(0.,1.)/
 
25
C***FIRST EXECUTABLE STATEMENT  CTANH
 
26
      CTANH = -CI*CTAN(CI*Z)
 
27
C
 
28
      RETURN
 
29
      END