Mathematical Constants
Get familiar with the basic mathematical constants provided by 'std::numbers'.
We'll cover the following...
First of all, the constants require the header <numbers>
and the namespace std::numbers
. The following table gives you an overview.
Mathematical constant | Description |
---|---|
std::numbers::e |