Representations of analytic functions as infinite products and their application to numerical computations