Skip to main content

Evaluating Floating-Point Elementary Functions

  • Chapter
  • First Online:
Handbook of Floating-Point Arithmetic

Abstract

The elementary functions are the most common mathematical functions: sine, cosine, tangent and their inverses, exponentials and logarithms of radices e, 2 or 10, etc. They appear everywhere in scientific computing; thus being able to evaluate them quickly and accurately is important for many applications. Various very different methods have been used for evaluating them: polynomial or rational approximations, shift-and-add algorithms, table-based methods, etc. The choice of the method greatly depends on whether the function will be implemented on hardware or software, on the target precision (for instance, table-based methods are very good for low precision, but unrealistic for very high precision), and on the required performance (in terms of speed, accuracy, memory consumption, size of code, etc.). With regard to performance, one will also resort to different methods depending on whether one wishes to optimize average performance or worst-case performance.

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

Access this chapter

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

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jean-Michel Muller .

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Birkhäuser Boston

About this chapter

Cite this chapter

Muller, JM. et al. (2010). Evaluating Floating-Point Elementary Functions. In: Handbook of Floating-Point Arithmetic. Birkhäuser Boston. https://doi.org/10.1007/978-0-8176-4705-6_11

Download citation

Publish with us

Policies and ethics