Abstract :
As the name suggests, elementary functions play a vital role in scientific computations. Yet due to their inherent nature, they are a considerable computing task by themselves. Not surprisingly, since the dawn of computing, the goal of speeding up elementary function computation has been pursued. This paper describes new hardware based algorithms for the computation of the common elementary functions, namely division, logarithm, reciprocal square root, arc tangent, sine and cosine. These algorithms exploit microscopic parallelism using specialized hardware with heavy use of truncation based on detailed accuracy analysis. The contribution of this work lies in the fact that these algorithms are very fast and yet are accurate. If we let the time to perform an IEEE Standard 754 double precision floating point multiplication be τ×, our algorithms to achieve roughly 3.68τ×,4.56τ×, 5.25τ×, 3.69τ×, 7.06τ×, and 6.5τ×, for division, logarithm, square root, exponential, are tangent and complex exponential (sine and cosine) respectively. The trade-off is the need for tables and some specialized hardware. The total amount of tables required, however, is less than 128 Kbytes. We discuss the hardware, algorithmic and accuracy aspects of these algorithms
Keywords :
digital arithmetic; error analysis; arc tangent; common elementary functions; cosine; elementary function computations; floating point multiplication; hardware-based algorithms; microscopic parallelism; reciprocal square root; rectangular multipliers; scientific computations; sine; Algorithm design and analysis; Application software; Computer vision; Digital arithmetic; Error analysis; Hardware; Iterative algorithms; Microscopy; Parallel processing; Software algorithms;