The aim of this paper is to develop an algorithm for the quadrature weights induced by the piecewise polynomial quadrature of Cauchy singular integrals. We present a simple calculation scheme for the quadrature weights. Some numerical test problems are given. (C) 1998 Elsevier Science B.V. All rights reserved.