GaussianQuadratureWeights[n, a, b] gives a list of the n pairs {xi, wi} of the elementary n-point Gaussian formula for quadrature on the interval a to b, where wi is the weight of the abscissa xi.
GaussianQuadratureWeights[n, a, b, prec] attempts to give a result with prec digits of precision.