OpenLibm/slatec/qwgtc.f
Viral B. Shah c977aa998f Add Makefile.extras to build libopenlibm-extras.
Replace amos with slatec
2012-12-31 16:37:05 -05:00

30 lines
985 B
Fortran

*DECK QWGTC
REAL FUNCTION QWGTC (X, C, P2, P3, P4, KP)
C***BEGIN PROLOGUE QWGTC
C***SUBSIDIARY
C***PURPOSE This function subprogram is used together with the
C routine QAWC and defines the WEIGHT function.
C***LIBRARY SLATEC
C***TYPE SINGLE PRECISION (QWGTC-S, DQWGTC-D)
C***KEYWORDS CAUCHY PRINCIPAL VALUE, WEIGHT FUNCTION
C***AUTHOR Piessens, Robert
C Applied Mathematics and Programming Division
C K. U. Leuven
C de Doncker, Elise
C Applied Mathematics and Programming Division
C K. U. Leuven
C***SEE ALSO QK15W
C***ROUTINES CALLED (NONE)
C***REVISION HISTORY (YYMMDD)
C 810101 DATE WRITTEN
C 830518 REVISION DATE from Version 3.2
C 891214 Prologue converted to Version 4.0 format. (BAB)
C 900328 Added TYPE section. (WRB)
C***END PROLOGUE QWGTC
C
REAL C,P2,P3,P4,X
INTEGER KP
C***FIRST EXECUTABLE STATEMENT QWGTC
QWGTC = 0.1E+01/(X-C)
RETURN
END