• DocumentCode
    1650195
  • Title

    Semi-Automatic Floating-Point Implementation of Special Functions

  • Author

    Lauter, Christoph ; Mezzarobba, Marc

  • Author_Institution
    LIP6, Sorbonne Univ., Paris, France
  • fYear
    2015
  • Firstpage
    58
  • Lastpage
    65
  • Abstract
    This work introduces an approach to the computer-assisted implementation of mathematical functions geared toward special functions such as those occurring in mathematical physics. The general idea is to start with an exact symbolic representation of a function and automate as much as possible of the process of implementing it. In order to deal with a large class of special functions, our symbolic representation is an implicit one: the input is a linear differential equation with polynomial coefficients along with initial values. The output is a C program to evaluate the solution of the equation using domain splitting, argument reduction and polynomial approximations in double-precision arithmetic, in the usual style of mathematical libraries. Our generation method combines symbolic-numeric manipulations of linear ODEs with interval-based tools for the floating-point implementation of "black-box" functions. We describe a prototype code generator that can automatically produce implementations on moderately large intervals. Implementations on the whole real line are possible in some cases but require manual tool setup and code integration. Due to this limitation and as some heuristics remain, we refer to our method as "semi-automatic" at this stage. Along with other examples, we present an implementation of the Voigt profile with fixed parameters that may be of independent interest.
  • Keywords
    floating point arithmetic; linear differential equations; polynomial approximation; program compilers; symbol manipulation; C program; Voigt profile; argument reduction; black-box functions; code integration; domain splitting; double-precision arithmetic; exact symbolic representation; heuristics; interval-based tools; linear ODEs; linear differential equation; mathematical functions; mathematical libraries; mathematical physics; polynomial approximations; polynomial coefficients; prototype code generator; semiautomatic floating-point arithmetic; symbolic representation; symbolic-numeric manipulations; Accuracy; Approximation algorithms; Chebyshev approximation; Libraries; Polynomials; Taylor series;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Arithmetic (ARITH), 2015 IEEE 22nd Symposium on
  • Conference_Location
    Lyon
  • ISSN
    1063-6889
  • Print_ISBN
    978-1-4799-8663-7
  • Type

    conf

  • DOI
    10.1109/ARITH.2015.12
  • Filename
    7203796