Skip to main content
Birkhäuser
Book cover

Elementary Functions:

Algorithms and Implementation

  • Book
  • © 1997

Overview

  • Gives an up-to-date presentation of hardware-oriented and software-oriented methods used to compute elementary functions (sine, cosine, exponential, and logarithms), the most commonly used mathematical functions in science and engineering
  • The second edition adds a chapter on multiple-precision arithmetic, and new algorithms invented since 1997
  • The introductory presentation on floating-point arithmetic has been expanded with more emphasis on the use of the fused multiply-accumulate instruction
  • May be used as a textbook for such graduate courses as Mathematical Functions and Algorithms, Introduction to Scientific Computing, or Software and Computer Engineering
  • Includes supplementary material: sn.pub/extras

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 74.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (10 chapters)

  1. Introduction

  2. Some Basic Things About Computer Arithmetic

  3. Algorithms Based on Polynomial Approximation and/or table Lookup

  4. Shift-and-Add Algorithms

  5. Range Reduction, Final Rounding and Exceptions

Keywords

About this book

The elementary functions (sine, cosine, exponentials, logarithms . . . ) are the most commonly used mathematical functions. Computing them quickly and accurately is a major goal in computer arithmetic. This book gives the theoretical background necessary to understand and/or build algorithms for computing these functions, presents algorithms (hardware-oriented as well as software-oriented), and discusses issues related to the accurate floating-point implementation of these functions. My purpose was not to give "cooking recipes" that allow to implement some given functions on some given floating-point systems, but to provide the reader with the knowledge that is necessary to build, or adapt algorithms to his or her computing environment. When writing this book, I have had in mind two different audiences: specialists, who will have to design floating-point systems (hardware or soft­ ware parts) orto do research on algorithms, and inquiring minds, who just want to know what kind of methods are used to compute the math functions in current computers or pocket calculators. Because of this, the book is in­ tended to be helpful as well for postgraduate and advanced undergraduate students in computer science or applied mathematics as for professionals engaged in the design of algorithms, programs or circuits that implement floating-point arithmetic, or simply for engineers or scientists who want to improve their culture in that domain.

Reviews

"There a few classic books on algorithms for computing elementary functions.... These books focused on software implementation using polynomial approximations. Perhaps Muller's book is destined to become a new classic in this subject, but only time will tell.... Muller's book contains few theorems and even fewer proofs. It does contain many numerical examples, complete with Maple code.... In summary, this book seems like an essential reference for the experts (which I'm not). More importantly, this is an interesting book for the curious (which I am). In this case, you'll probably learn many interesting things from this book. If you teach numerical analysis or approximation theory, then this book will give you some good examples to discuss in class."   —MAA Reviews (Review of Second Edition)

"The rich content of ideas sketched or presented in some detail in this book is supplemented by a list of over three hundred references, most of them of 1980 or more recent. The book also contains some relevant typical programs."   —Zentralblatt MATH (Review of Second Edition)

"This book is devoted to the computation of elementary functions (such as sine, cosine, tan, exponentials and logarithms) and it is intended for specialists and inquiring minds as the author says in his preface. I also think that the book will be very valuable to students both in numerical analysis and in computer science.  The author is well known among people working on computer arithmetic. I found the book well written and containing much interesting material, most of the time disseminated in specialized papers published in specialized journals difficult to find. Moreover, there are very few books on these topics and they are not recent."   Numerical Algorithms (Review of First Edition)

"This book is intended for two different audiences:specialists, who have to design floating-point systems…or to do research on algorithms, and inquiring minds, who just want to know what kind of methods are used to compute mathematical functions in current computers or pocket calculators. Because of this, it will be helpful for postgraduate and advanced undergraduate students in computer science or applied mathematics as well as for professionals engaged in the design of algorithms, programs or circuits that implement floating-point arithmetic, or simply for engineers or scientists who want to improve their culture in that domain. Much of the book can be understood with only a basic grounding in computer science and mathematics."   Mathematica Bohemia (Review of First Edition)

"The author presents a state-of-the-art review of techniques used to compute the values of common elementary functions. Chapter 1 introduces the goals of techniques that produce good approximations. Chapter 2 reviews topics in computer arithmetic, including number representation (redundant and nonredundant) and the IEEE standard for binary floating-point arithmetic. Chapters 3 and 4 review the techniques (polynomial, rational, and table-based) used in some current microprocessors. Chapters 5, 6, and 7 review shift-and-add techniques, including the CORDIC method frequently used by calculator designers. Chapter 8 discusses range reduction. Chapter 9 discusses techniques that help produce correctly rounded results."   Mathematical Reviews (Review of First Edition)

"A must for those involved with designing numerical processors or mathematical software, the book should also interest calculus students for the new perspectives it offers on topics they might think they know very well. Suitable for upper-division undergraduates through faculty."   Choice (Review of First Edition)

"Thisfascinating book describes the techniques used by high-level compilers and by pocket book calculators to generate values of the common elementary mathematical functions."   ASLIB Book Guide (Review of First Edition)

"The author fully accomplishes his aim of giving the necessary theoretical background in order to both understand and build algorithms for the computation of elementary functions (such as sine, cosine, exponential, logarithms), that are the most commonly used mathematical functions. Hardware- as well as software-oriented algorithms are presented, together with a pertinent analysis of accurate floating-point implementations…Good examples are always chosen in order to introduce or to illustrate the methods, following the given cases. The book is very well structured…"   —Analele Stiintifice ale Universitatii “Al. I. Cuza” din Iasi

Authors and Affiliations

  • CNRS-Laboratoire LIP, Ecole Normale Superieure de Lyon, Lyon Cedex 07, France

    Jean-Michel Muller

Bibliographic Information

  • Book Title: Elementary Functions:

  • Book Subtitle: Algorithms and Implementation

  • Authors: Jean-Michel Muller

  • DOI: https://doi.org/10.1007/978-1-4757-2646-6

  • Publisher: Birkhäuser Boston, MA

  • eBook Packages: Springer Book Archive

  • Copyright Information: Birkhäuser Boston 1997

  • eBook ISBN: 978-1-4757-2646-6Published: 14 March 2013

  • Edition Number: 1

  • Number of Pages: XV, 204

  • Topics: Computer Science, general

  • Industry Sectors: IT & Software, Telecommunications

Publish with us