P0533R3.pdf

p0533r3.pdf
Preview of P0533R3
🔗 Source: open-std.org
📊 Size: 191 KB
📄 Pages: 10 pages
⬇️ Downloads: 43

Summary

The proposal P0533R3 aims to add constexpr to certain functions in the and libraries, allowing for compile-time evaluation of mathematical expressions. The proposed criteria for selecting functions to be declared constexpr are:
1. The function must be closed when acting on rational numbers (excluding division by zero).
2. The function must not be strongly dependent on the rounding mode.
Functions that meet these criteria, such as abs, can be declared constexpr, while others like exp, sqrt, cos, sin, and nearbyint do not meet the criteria and are excluded. The proposal requires changes to the standard and may impose a minimal burden on compiler vendors, but implementations already exist in GCC and clang to some extent.

Description

The proposal P0533R3 aims to add constexpr to certain functions in the <cmath> and <cstdlib> libraries, allowing for compile-time evaluation of mathematical...

Technical Information

  • File Format: PDF
  • File Size: 191 KB
  • Pages: 10
  • Language: EN
  • Total Downloads: 43
  • Last Updated: 2 months ago

Document Overview

This PDF document about P0533R3 provides comprehensive information and guidance. Whether you're a beginner or advanced user, this resource offers valuable insights into P0533R3.

Related Topics

If you're interested in P0533R3, you might also want to explore:

Download P0533R3 eBooks for free and learn more about P0533R3. These books contain exercises and tutorials to improve your practical skills, at all levels!

Not satisfied with this document? We have related documents to P0533R3, try searching with similar keywords: P0533R3

You can download PDF versions of the user's guide, manuals and ebooks about P0533R3, you can also find and download for free A free online manual (notices) with beginner and intermediate, Downloads Documentation, You can download PDF files (or DOC and PPT) about P0533R3 for free, but please respect copyrighted ebooks.