Mathematical constants backported from C++20 <numbers>.
Variables
Name |
Description |
Euler's number. |
|
Euler's number |
|
Euler's number as float. |
|
Euler‐Mascheroni constant. |
|
Euler‐Mascheroni constant for floating‐point type |
|
Euler‐Mascheroni constant as float. |
|
Reciprocal of pi. |
|
Reciprocal of pi for floating‐point type |
|
Reciprocal of pi as float. |
|
High‐precision decimal digits of 1/pi. |
|
Reciprocal of the square root of 2. |
|
Reciprocal of the square root of 2 for floating‐point type |
|
Reciprocal of sqrt(2) as float. |
|
Reciprocal of the square root of 3. |
|
Reciprocal of the square root of 3 for floating‐point type |
|
Reciprocal of sqrt(3) as float. |
|
Reciprocal of the square root of pi. |
|
Reciprocal of the square root of pi for floating‐point type |
|
Reciprocal of sqrt(pi) as float. |
|
Natural logarithm of 10. |
|
Natural logarithm of 10 for floating‐point type |
|
Natural logarithm of 10 as a float constant. |
|
Natural logarithm of 2. |
|
Natural logarithm of 2 for floating‐point type |
|
Natural logarithm of 2 as float. |
|
Base‐10 logarithm of |
|
Base‐10 logarithm of |
|
Base‐10 logarithm of e as float. |
|
Base‐2 logarithm of |
|
Base‐2 logarithm of |
|
Base‐2 logarithm of e as float. |
|
Golden ratio. |
|
Golden ratio for floating‐point type |
|
Golden ratio as float. |
|
The mathematical constant pi. |
|
The mathematical constant pi for floating‐point type |
|
Pi as float. |
|
High‐precision decimal digits of pi. |
|
Square root of 2. |
|
Square root of 2 for floating‐point type |
|
Sqrt(2) as float. |
|
Square root of 3. |
|
Square root of 3 for floating‐point type |
|
Sqrt(3) as float. |
|
Sqrt(pi) as double. |
|
Sqrt(pi) constant for floating‐point type |
|
Sqrt(pi) as float. |
Created with MrDocs