REMES2—a Fortran program to calculate rational minimax approximations to a given function. REMES2, a double precision FORTRAN program designed to run on a CDC 6000 series computer, calculates rational function minimax approximations (that is best approximations in the sense that the maximum error in the range is as small as possible) to a given continuous function. The precision obtainable ranges from 1 to 24 significant figures depending on the precision with which the function is specified. The program uses the second algorithm of Remes, combined with a starting algorithm based on a suggestion of Werner. Various options may be selected by input parameters, to generate either single approximations or large segments of the Walsh array, and the resulting coefficients are automatically rounded off and tested for ill-conditioning