Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. The following
tables list the running time of various algorithms for common
mathematical operations. Here, complexity refers to the time complexity
of performing computations on a multitape Turing machine. See big O
notation for an explanation of the notation used.Note: Due to the
variety of multiplication algorithms, M(n) below stands in for the
complexity of the chosen multiplication algorithm.The elementary
functions are constructed by composing arithmetic operations, the
exponential function (exp), the natural logarithm (log), trigonometric
functions (sin, cos), and their inverses. The complexity of an
elementary function is equivalent to that of its inverse, since all
elementary functions are analytic and hence invertible by means of
Newton's method. In particular, if either exp or log can be computed
with some complexity, then that complexity is attainable for all other
elementary functions.