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

« back to all changes in this revision

Viewing changes to deps/openlibm/slatec/dqwgtf.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 DQWGTF
 
2
      DOUBLE PRECISION FUNCTION DQWGTF (X, OMEGA, P2, P3, P4, INTEGR)
 
3
C***BEGIN PROLOGUE  DQWGTF
 
4
C***SUBSIDIARY
 
5
C***PURPOSE  This function subprogram is used together with the
 
6
C            routine DQAWF and defines the WEIGHT function.
 
7
C***LIBRARY   SLATEC
 
8
C***TYPE      DOUBLE PRECISION (QWGTF-S, DQWGTF-D)
 
9
C***KEYWORDS  COS OR SIN IN WEIGHT FUNCTION
 
10
C***AUTHOR  Piessens, Robert
 
11
C             Applied Mathematics and Programming Division
 
12
C             K. U. Leuven
 
13
C           de Doncker, Elise
 
14
C             Applied Mathematics and Programming Division
 
15
C             K. U. Leuven
 
16
C***SEE ALSO  DQK15W
 
17
C***ROUTINES CALLED  (NONE)
 
18
C***REVISION HISTORY  (YYMMDD)
 
19
C   810101  DATE WRITTEN
 
20
C   890531  Changed all specific intrinsics to generic.  (WRB)
 
21
C   890531  REVISION DATE from Version 3.2
 
22
C   891214  Prologue converted to Version 4.0 format.  (BAB)
 
23
C   900328  Added TYPE section.  (WRB)
 
24
C***END PROLOGUE  DQWGTF
 
25
C
 
26
      DOUBLE PRECISION OMEGA,OMX,P2,P3,P4,X
 
27
      INTEGER INTEGR
 
28
C***FIRST EXECUTABLE STATEMENT  DQWGTF
 
29
      OMX = OMEGA*X
 
30
      GO TO(10,20),INTEGR
 
31
   10 DQWGTF = COS(OMX)
 
32
      GO TO 30
 
33
   20 DQWGTF = SIN(OMX)
 
34
   30 RETURN
 
35
      END