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

« back to all changes in this revision

Viewing changes to deps/openlibm/slatec/ali.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 ALI
 
2
      FUNCTION ALI (X)
 
3
C***BEGIN PROLOGUE  ALI
 
4
C***PURPOSE  Compute the logarithmic integral.
 
5
C***LIBRARY   SLATEC (FNLIB)
 
6
C***CATEGORY  C5
 
7
C***TYPE      SINGLE PRECISION (ALI-S, DLI-D)
 
8
C***KEYWORDS  FNLIB, LOGARITHMIC INTEGRAL, SPECIAL FUNCTIONS
 
9
C***AUTHOR  Fullerton, W., (LANL)
 
10
C***DESCRIPTION
 
11
C
 
12
C ALI(X) computes the logarithmic integral; i.e., the
 
13
C integral from 0.0 to X of (1.0/ln(t))dt.
 
14
C
 
15
C***REFERENCES  (NONE)
 
16
C***ROUTINES CALLED  EI, XERMSG
 
17
C***REVISION HISTORY  (YYMMDD)
 
18
C   770601  DATE WRITTEN
 
19
C   890531  Changed all specific intrinsics to generic.  (WRB)
 
20
C   890531  REVISION DATE from Version 3.2
 
21
C   891214  Prologue converted to Version 4.0 format.  (BAB)
 
22
C   900315  CALLs to XERROR changed to CALLs to XERMSG.  (THJ)
 
23
C   900326  Removed duplicate information from DESCRIPTION section.
 
24
C           (WRB)
 
25
C***END PROLOGUE  ALI
 
26
C***FIRST EXECUTABLE STATEMENT  ALI
 
27
      IF (X .LE. 0.0) CALL XERMSG ('SLATEC', 'ALI',
 
28
     +   'LOG INTEGRAL UNDEFINED FOR X LE 0', 1, 2)
 
29
      IF (X .EQ. 1.0) CALL XERMSG ('SLATEC', 'ALI',
 
30
     +   'LOG INTEGRAL UNDEFINED FOR X = 1', 2, 2)
 
31
C
 
32
      ALI = EI (LOG(X) )
 
33
C
 
34
      RETURN
 
35
      END