# i1mach, r1mach, d1mach were introduced in the PORT library;
# They represent values checked by extensive testing and are not naive counts
# of "how many bits in a word".  Because some machines use extended precision
# registers, trying to calculate such quantities directly is problematical. As
# far as possible, we replace machine constants in the various netlib libraries
# by calls to *1mach and keep these three routines up to date.

file	core/i1mach.f
gams	r1
for	integer machine constants (like Fortran units for standard input)

file	core/r1mach.f
gams	r1
for	real machine constants (like "machine epsilon" and "biggest number")

file	core/d1mach.f
gams	r1
for	double precision machine constants



file	core/machar.f
gams	r1
prec	single and double
#	precisions can be extracted from the supplied source
#	code with simple editing changes.  NOTE: at least one
#	version MUST be extracted before the source will compile.
# MACHAR is an evolving subroutine for dynamically determining thirteen
# fundamental parameters associated with floating-point arithmetic.  The
# original version was published in Cody and Waite, Software Manual for
# the Elementary Functions, Prentice-Hall, 1980.  The present version has
# been modified to operate correctly with IEEE floating-point arithmetic.
# It will malfunction on many CRAY and most CYBER systems, however.  See
by	W. J. Cody
ref	"MACHAR: A subroutine to dynamically determine machine parameters," TOMS 14, December, 1988

file	core/machar.c
gams	r1
#	C source for machar and a driver.  Float and  double  
#	versions are selected with compiler directives.




file	blas3-paper
for	details on the Level 3 BLAS
lang	PostScript

file	core/blas2-paper
for	details on the Level 2 BLAS
lang	PostScript

file	core/caxpy.f
for	y = a*x + y
prec	single complex
gams	D1a7

file	core/cblas2.f
prec	single complex
gams	D1a
for	all the Level 2 BLAS for this type

file	core/cblas2time.f
prec	complex
for	timing the Level 2 BLAS

file	core/cblas3.f
prec	single complex
gams	D1b
for	all the Level 3 BLAS of this type

file	core/cblas3time.f
prec	complex
for	timing the Level 3 BLAS

file	core/cblat2
prec	complex
for	testing the Level 2 BLAS

file	core/cblat2d
prec	complex
for	testing the Level 2 BLAS

file	core/cblat3
prec	complex
for	testing the Level 3 BLAS

file	core/cblat3d
prec	complex
for	testing the Level 3 BLAS

file	core/ccopy.f
for	copy x into y
prec	single complex
gams	D1a5

file	core/cdotc.f
for	dot product
prec	single complex
gams	D1a4

file	core/cdotu.f
for	dot product
prec	single complex
gams	D1a4

file	core/cdscal.f
for	x = a*x
prec	single complex
gams	D1a6

file	core/cgbmv.f
for	matrix vector multiply
prec	single complex
gams	D1b4

file	core/cgemm.f
for	matrix matrix multiply
prec	single complex
gams	D1b6

file	core/cgemv.f
for	matrix vector multiply
prec	single complex
gams	D1b4

file	core/cgerc.f
for	rank one update to a matrix
prec	single complex
gams	D1a5

file	core/cgeru.f
for	rank one update to a matrix
prec	single complex
gams	D1a5

file	core/chbmv.f
for	matrix vector multiply
prec	single complex
gams	D1b4

file	core/chemm.f
for	matrix matrix multiply
prec	single complex
gams	D1b6

file	core/chemv.f
for	matrix vector multiply
prec	single complex
gams	D1b6

file	core/cher.f
for	rank one update to a matrix
prec	single complex
gams	D1b5

file	core/cher2.f
for	rank two update to a matrix
prec	single complex
gams	D1b5

file	core/cher2k.f
for	rank-2k update to a matrix
prec	single complex
gams	D1b5

file	core/cherk.f
for	rank-k update to a matrix
prec	single complex
gams	D1b5

file	core/chpmv.f
for	matrix vector multiply
prec	single complex
gams	D1b4

file	core/chpr.f
for	rank one update to a matrix
prec	single complex
gams	D1b5

file	core/chpr2.f
for	rank two update to a matrix
prec	single complex
gams	D1b5

file	core/cscal.f
for	x = a*x
prec	single complex
gams	D1a6

file	core/csrot.f
for	apply Givens rotation
prec	single complex
gams	D1b10

file	core/csscal.f
for	x = a*x
prec	single complex
gams	D1a6

file	core/cswap.f
for	swap x and y
prec	single complex
gams	D1a5

file	core/csymm.f
for	matrix matrix multiply
prec	single complex
gams	D1b6

file	core/csyr2k.f
for	rank-2k update to a matrix
prec	single complex
gams	D1b5

file	core/csyrk.f
for	rank-k update to a matrix
prec	single complex
gams	D1b5

file	core/ctbmv.f
for	matrix vector multiply
prec	single complex
gams	D1b4

file	core/ctbsv.f
for	solving certain triangular matrix problems
prec	single complex
gams	D2c2,D2c3

file	core/ctpmv.f
for	matrix vector multiply
prec	single complex
gams	D1b4

file	core/ctpsv.f
for	solving certain triangular matrix problems
prec	single complex
gams	D2c3

file	core/ctrmm.f
for	matrix matrix multiply
prec	single complex
gams	D1b6

file	core/ctrmv.f
for	matrix vector multiply
prec	single complex
gams	D1b4

file	core/ctrsm.f
for	solving triangular matrix with many right--hand-sides
prec	single complex
gams	D2c3

file	core/ctrsv.f
for	solving certain triangular matrix problems
prec	single complex
gams	D2c3

file	core/dasum.f
for	sum of absolute values
prec	double real
gams	D1a3a

file	core/daxpy.f
for	y = a*x + y
prec	double real
gams	D1a7

file	core/dblas2.f
prec	double real
gams	D1a
for	all the Level 2 BLAS for this type

file	core/dblas2time.f
prec	double
for	timing the Level 2 BLAS

file	core/dblas3.f
prec	double real
gams	D1b
for	all the Level 3 BLAS of this type

file	core/dblas3time.f
prec	double
for	timing the Level 3 BLAS

file	core/dblat2
prec	double
for	testing the Level 2 BLAS

file	core/dblat2d
prec	double
for	testing the Level 2 BLAS

file	core/dblat3
prec	double
for	testing the Level 3 BLAS

file	core/dblat3d
prec	double
for	testing the Level 3 BLAS

file	core/dcopy.f
for	copy x into y
prec	double real
gams	D1a5

file	core/ddot.f
for	dot product
prec	double real
gams	D1a4

file	core/dgbmv.f
for	matrix vector multiply
prec	double real
gams	D1b4

file	core/dgemm.f
for	matrix matrix multiply
prec	double real
gams	D1b6

file	core/dgemv.f
for	matrix vector multiply
prec	double real
gams	D1b4

file	core/dger.f
for	rank one update to a matrix
prec	double real
gams	D1b5

file	core/dmr
prec	double real
for	DGEMM for IBM RS/6000 by Dongarra, Mayes, and Radicatti
gams	D1b6
lang	Fortran

file	core/dnrm2.f
for	Euclidean norm
prec	double real
gams	D1a3b

file	core/drot.f
for	apply Givens rotation
prec	double real
gams	D1a8

file	core/drotg.f
for	setup Givens rotation
prec	double real
gams	D1b10

file	core/dsbmv.f
for	matrix vector multiply
prec	double real
gams	D1b4

file	core/dscal.f
for	x = a*x
prec	double real
gams	D1a6

file	core/dspmv.f
for	matrix vector multiply
prec	double real
gams	D1b4

file	core/dspr.f
for	rank one update to a matrix
prec	double real
gams	D1b5

file	core/dspr2.f
for	rank two update to a matrix
prec	double real
gams	D1b5

file	core/dswap.f
for	swap x and y
prec	double real
gams	D1a5

file	core/dsymm.f
for	matrix matrix multiply
prec	double real
gams	D1b6

file	core/dsymv.f
for	matrix vector multiply
prec	double real
gams	D1b4

file	core/dsyr.f
for	rank one update to a matrix
prec	double real
gams	D1b5

file	core/dsyr2.f
for	rank two update to a matrix
prec	double real
gams	D1b5

file	core/dsyr2k.f
for	rank-2k update to a matrix
prec	double real
gams	D1b5

file	core/dsyrk.f
for	rank-k update to a matrix
prec	double real
gams	D1b5

file	core/dtbmv.f
for	matrix vector multiply
prec	double real
gams	D1b4

file	core/dtbsv.f
for	solving certain triangular matrix problems
prec	double real
gams	D2a3,D2a2

file	core/dtpmv.f
for	matrix vector multiply
prec	double real
gams	D1b4

file	core/dtpsv.f
for	solving certain triangular matrix problems
prec	double real
gams	D2a3

file	core/dtrmm.f
for	matrix matrix multiply
prec	double real
gams	D1b6

file	core/dtrmv.f
for	matrix vector multiply
prec	double real
gams	D1b4

file	core/dtrsm.f
for	solving triangular matrix with many right--hand-sides
prec	double real
gams	D2a3

file	core/dtrsv.f
for	solving certain triangular matrix problems
prec	double real
gams	D2a3

file	core/dzasum.f
for	sum of absolute values
prec	double real
gams	D1a3a

file	core/dznrm2.f
for	Euclidean norm
prec	double real
gams	D1a3b

file	core/ecblas2.f
gams	D1a
prec	complex, with extended precision accumulation
for	all the Level 2 BLAS for this type

file	core/esblas2.f
gams	D1a
prec	real, with extended precision accumulation
for	all the Level 2 BLAS for this type

file	core/icamax.f
for	index of max abs value
prec	single complex
gams	D1a2,D1a3c,N5a

file	core/idamax.f
for	index of max abs value
prec	double real
gams	D1a2,D1a3c,N5a

file	core/isamax.f
for	index of max abs value
prec	single real
gams	D1a2,D1a3c,N5a

file	core/izamax.f
for	index of max abs value
prec	double complex
gams	D1a2,D1a3c,N5a

file	core/sasum.f
for	sum of absolute values
prec	single real
gams	D1a3a

file	core/saxpy.f
for	y = a*x + y
prec	single real
gams	D1a7

file	core/sblas2.f
prec	single real
gams	D1a
for	all the Level 2 BLAS for this type

file	core/sblas2time.f
prec	real
for	timing the Level 2 BLAS

file	core/sblas3.f
prec	single real
gams	D1b
for	all the Level 3 BLAS of this type

file	core/sblas3time.f
prec	real
for	timing the Level 3 BLAS

file	core/sblat2
prec	real
for	testing the Level 2 BLAS

file	core/sblat2d
prec	real
for	testing the Level 2 BLAS

file	core/sblat3
prec	real
for	testing the Level 3 BLAS

file	core/sblat3d
prec	real
for	testing the Level 3 BLAS

file	core/scasum.f
for	sum of absolute values
prec	single real
gams	D1a3a

file	core/scnrm2.f
for	Euclidean norm
prec	single real
gams	D1a3b

file	core/scopy.f
for	copy x into y
prec	single real
gams	D1a5

file	core/sdot.f
for	dot product
prec	single real
gams	D1a4

file	core/sgbmv.f
for	matrix vector multiply
prec	single real
gams	D1b4

file	core/sgemm.f
for	matrix matrix multiply
prec	single real
gams	D1b6

file	core/sgemv.f
for	matrix vector multiply
prec	single real
gams	D1b4

file	core/snrm2.f
for	Euclidean norm
prec	single real
gams	D1a3b

file	core/srot.f
for	apply Givens rotation
prec	single real
gams	D1a8

file	core/srotg.f
for	setup Givens rotation
prec	single real
gams	D1b10

file	core/ssbmv.f
for	matrix vector multiply
prec	single real
gams	D1b4

file	core/sscal.f
for	x = a*x
prec	single real
gams	D1a6

file	core/sspmv.f
for	matrix vector multiply
prec	single real
gams	D1b4

file	core/sspr.f
for	rank one update to a matrix
prec	single real
gams	D1b5

file	core/sspr2.f
for	rank two update to a matrix
prec	single real
gams	D1b5

file	core/sswap.f
for	swap x and y
prec	single real
gams	D1a5

file	core/ssymm.f
for	matrix matrix multiply
prec	single real
gams	D1b6

file	core/ssymv.f
for	matrix vector multiply
prec	single real
gams	D1b4

file	core/ssyr.f
for	rank one update to a matrix
prec	single real
gams	D1b5

file	core/ssyr2.f
for	rank two update to a matrix
prec	single real
gams	D1b5

file	core/ssyr2k.f
for	rank-2k update to a matrix
prec	single real
gams	D1b5

file	core/ssyrk.f
for	rank-k update to a matrix
prec	single real
gams	D1b5

file	core/stbmv.f
for	matrix vector multiply
prec	single real
gams	D1b4

file	core/stbsv.f
for	solving certain triangular matrix problems
prec	single real
gams	D2a3,D2a2

file	core/stpmv.f
for	matrix vector multiply
prec	single real
gams	D1b4

file	core/stpsv.f
for	solving certain triangular matrix problems
prec	single real
gams	D2a3

file	core/strmm.f
for	matrix matrix multiply
prec	single real
gams	D1b6

file	core/strmv.f
for	matrix vector multiply
prec	single real
gams	D1b4

file	core/strsm.f
for	solving triangular matrix with many right--hand-sides
prec	single real
gams	D2a3

file	core/strsv.f
for	solving certain triangular matrix problems
prec	single real
gams	D2a3

file	core/zaxpy.f
for	y = a*x + y
prec	double complex
gams	D1a7

file	core/zblas2.f
prec	double complex
gams	D1a
for	all the Level 2 BLAS for this type

file	core/zblas2time.f
prec	double complex
for	timing the Level 2 BLAS

file	core/zblas3.f
prec	double complex
gams	D1b
for	all the Level 3 BLAS of this type

file	core/zblas3time.f
prec	double complex
for	timing the Level 3 BLAS

file	core/zblat2
prec	double complex
for	testing the Level 2 BLAS

file	core/zblat2d
prec	double complex
for	testing the Level 2 BLAS

file	core/zblat3
prec	double complex
for	testing the Level 3 BLAS

file	core/zblat3d
prec	double complex
for	testing the Level 3 BLAS

file	core/zcopy.f
for	copy x into y
prec	double complex
gams	D1a5

file	core/zdotc.f
for	dot product
prec	double complex
gams	D1a4

file	core/zdotu.f
for	dot product
prec	double complex
gams	D1a4

file	core/zdrot.f
for	apply Givens rotation
prec	double complex
gams	D1b10

file	core/zgbmv.f
for	matrix vector multiply
prec	double complex
gams	D1b4

file	core/zgemm.f
for	matrix matrix multiply
prec	double complex
gams	D1b6

file	core/zgemv.f
for	matrix vector multiply
prec	double complex
gams	D1b4

file	core/zgerc.f
for	rank one update to a matrix
prec	double complex
gams	D1a5

file	core/zgeru.f
for	rank one update to a matrix
prec	double complex
gams	D1a5

file	core/zhbmv.f
for	matrix vector multiply
prec	double complex
gams	D1b4

file	core/zhemm.f
for	matrix matrix multiply
prec	double complex
gams	D1b6

file	core/zhemv.f
for	matrix vector multiply
prec	double complex
gams	D1b6

file	core/zher.f
for	rank one update to a matrix
prec	double complex
gams	D1b5

file	core/zher2.f
for	rank two update to a matrix
prec	double complex
gams	D1b5

file	core/zher2k.f
for	rank-2k update to a matrix
prec	double complex
gams	D1b5

file	core/zherk.f
for	rank-k update to a matrix
prec	double complex
gams	D1b5

file	core/zhpmv.f
for	matrix vector multiply
prec	double complex
gams	D1b4

file	core/zhpr.f
for	rank one update to a matrix
prec	double complex
gams	D1b5

file	core/zhpr2.f
for	rank two update to a matrix
prec	double complex
gams	D1b5

file	core/zscal.f
for	x = a*x
prec	double complex
gams	D1a6

file	core/zswap.f
for	swap x and y
prec	double complex
gams	D1a5

file	core/zsymm.f
for	matrix matrix multiply
prec	double complex
gams	D1b6

file	core/zsyr2k.f
for	rank-2k update to a matrix
prec	double complex
gams	D1b5

file	core/zsyrk.f
for	rank-k update to a matrix
prec	double complex
gams	D1b5

file	core/ztbmv.f
for	matrix vector multiply
prec	double complex
gams	D1b4

file	core/ztbsv.f
for	solving certain triangular matrix problems
prec	double complex
gams	D2c2,D2c3

file	core/ztpmv.f
for	matrix vector multiply
prec	double complex
gams	D1b4

file	core/ztpsv.f
for	solving certain triangular matrix problems
prec	double complex
gams	D2c3

file	core/ztrmm.f
for	matrix matrix multiply
prec	double complex
gams	D1b6

file	core/ztrmv.f
for	matrix vector multiply
prec	double complex
gams	D1b4

file	core/ztrsm.f
for	solving triangular matrix with many right--hand-sides
prec	double complex
gams	D2c3

file	core/ztrsv.f
for	solving certain triangular matrix problems
prec	double complex
gams	D2c3

