Skip to main content

Numerics and Math

  • Chapter
  • First Online:
C++ Standard Library Quick Reference
  • 3311 Accesses

Abstract

The <cmath> header Mathematical functions defines an extensive collection of common math functions in the std namespace. Unless otherwise specified, all functions are overloaded to accept all standard numerical types, with the following rules for determining the return type.

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

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and 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

Author information

Authors and Affiliations

Authors

Electronic Supplementary Material

Below is the link to the electronic supplementary material.

9781484218754_Source Code (zip 44 kb)

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Peter Van Weert and Marc Gregoire

About this chapter

Cite this chapter

Van Weert, P., Gregoire, M. (2016). Numerics and Math. In: C++ Standard Library Quick Reference. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1876-1_1

Download citation

Publish with us

Policies and ethics