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

« back to all changes in this revision

Viewing changes to deps/openlibm/slatec/qwgtf.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 QWGTF
 
2
      REAL FUNCTION QWGTF (X, OMEGA, P2, P3, P4, INTEGR)
 
3
C***BEGIN PROLOGUE  QWGTF
 
4
C***SUBSIDIARY
 
5
C***PURPOSE  This function subprogram is used together with the
 
6
C            routine QAWF and defines the WEIGHT function.
 
7
C***LIBRARY   SLATEC
 
8
C***TYPE      SINGLE 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  QK15W
 
17
C***ROUTINES CALLED  (NONE)
 
18
C***REVISION HISTORY  (YYMMDD)
 
19
C   810101  DATE WRITTEN
 
20
C   830518  REVISION DATE from Version 3.2
 
21
C   891214  Prologue converted to Version 4.0 format.  (BAB)
 
22
C   900328  Added TYPE section.  (WRB)
 
23
C***END PROLOGUE  QWGTF
 
24
C
 
25
      REAL OMEGA,OMX,P2,P3,P4,X
 
26
      INTEGER INTEGR
 
27
C***FIRST EXECUTABLE STATEMENT  QWGTF
 
28
      OMX = OMEGA*X
 
29
      GO TO(10,20),INTEGR
 
30
   10 QWGTF = COS(OMX)
 
31
      GO TO 30
 
32
   20 QWGTF = SIN(OMX)
 
33
   30 RETURN
 
34
      END