tmp/tmpcnx8b95f/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Header `<numbers>` synopsis <a id="numbers.syn">[[numbers.syn]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std::numbers {
|
| 5 |
+
template<class T> inline constexpr T e_v = unspecified;
|
| 6 |
+
template<class T> inline constexpr T log2e_v = unspecified;
|
| 7 |
+
template<class T> inline constexpr T log10e_v = unspecified;
|
| 8 |
+
template<class T> inline constexpr T pi_v = unspecified;
|
| 9 |
+
template<class T> inline constexpr T inv_pi_v = unspecified;
|
| 10 |
+
template<class T> inline constexpr T inv_sqrtpi_v = unspecified;
|
| 11 |
+
template<class T> inline constexpr T ln2_v = unspecified;
|
| 12 |
+
template<class T> inline constexpr T ln10_v = unspecified;
|
| 13 |
+
template<class T> inline constexpr T sqrt2_v = unspecified;
|
| 14 |
+
template<class T> inline constexpr T sqrt3_v = unspecified;
|
| 15 |
+
template<class T> inline constexpr T inv_sqrt3_v = unspecified;
|
| 16 |
+
template<class T> inline constexpr T egamma_v = unspecified;
|
| 17 |
+
template<class T> inline constexpr T phi_v = unspecified;
|
| 18 |
+
|
| 19 |
+
template<floating_point T> inline constexpr T e_v<T> = see below;
|
| 20 |
+
template<floating_point T> inline constexpr T log2e_v<T> = see below;
|
| 21 |
+
template<floating_point T> inline constexpr T log10e_v<T> = see below;
|
| 22 |
+
template<floating_point T> inline constexpr T pi_v<T> = see below;
|
| 23 |
+
template<floating_point T> inline constexpr T inv_pi_v<T> = see below;
|
| 24 |
+
template<floating_point T> inline constexpr T inv_sqrtpi_v<T> = see below;
|
| 25 |
+
template<floating_point T> inline constexpr T ln2_v<T> = see below;
|
| 26 |
+
template<floating_point T> inline constexpr T ln10_v<T> = see below;
|
| 27 |
+
template<floating_point T> inline constexpr T sqrt2_v<T> = see below;
|
| 28 |
+
template<floating_point T> inline constexpr T sqrt3_v<T> = see below;
|
| 29 |
+
template<floating_point T> inline constexpr T inv_sqrt3_v<T> = see below;
|
| 30 |
+
template<floating_point T> inline constexpr T egamma_v<T> = see below;
|
| 31 |
+
template<floating_point T> inline constexpr T phi_v<T> = see below;
|
| 32 |
+
|
| 33 |
+
inline constexpr double e = e_v<double>;
|
| 34 |
+
inline constexpr double log2e = log2e_v<double>;
|
| 35 |
+
inline constexpr double log10e = log10e_v<double>;
|
| 36 |
+
inline constexpr double pi = pi_v<double>;
|
| 37 |
+
inline constexpr double inv_pi = inv_pi_v<double>;
|
| 38 |
+
inline constexpr double inv_sqrtpi = inv_sqrtpi_v<double>;
|
| 39 |
+
inline constexpr double ln2 = ln2_v<double>;
|
| 40 |
+
inline constexpr double ln10 = ln10_v<double>;
|
| 41 |
+
inline constexpr double sqrt2 = sqrt2_v<double>;
|
| 42 |
+
inline constexpr double sqrt3 = sqrt3_v<double>;
|
| 43 |
+
inline constexpr double inv_sqrt3 = inv_sqrt3_v<double>;
|
| 44 |
+
inline constexpr double egamma = egamma_v<double>;
|
| 45 |
+
inline constexpr double phi = phi_v<double>;
|
| 46 |
+
}
|
| 47 |
+
```
|
| 48 |
+
|