Lines Matching full:numbers
12 #include <numbers>
15 assert(std::numbers::e == 0x1.5bf0a8b145769p+1); in tests()
16 assert(std::numbers::e_v<double> == 0x1.5bf0a8b145769p+1); in tests()
17 assert(std::numbers::e_v<long double> == 0x1.5bf0a8b145769p+1l); in tests()
18 assert(std::numbers::e_v<float> == 0x1.5bf0a8p+1f); in tests()
20 assert(std::numbers::log2e == 0x1.71547652b82fep+0); in tests()
21 assert(std::numbers::log2e_v<double> == 0x1.71547652b82fep+0); in tests()
22 assert(std::numbers::log2e_v<long double> == 0x1.71547652b82fep+0l); in tests()
23 assert(std::numbers::log2e_v<float> == 0x1.715476p+0f); in tests()
25 assert(std::numbers::log10e == 0x1.bcb7b1526e50ep-2); in tests()
26 assert(std::numbers::log10e_v<double> == 0x1.bcb7b1526e50ep-2); in tests()
27 assert(std::numbers::log10e_v<long double> == 0x1.bcb7b1526e50ep-2l); in tests()
28 assert(std::numbers::log10e_v<float> == 0x1.bcb7b15p-2f); in tests()
30 assert(std::numbers::pi == 0x1.921fb54442d18p+1); in tests()
31 assert(std::numbers::pi_v<double> == 0x1.921fb54442d18p+1); in tests()
32 assert(std::numbers::pi_v<long double> == 0x1.921fb54442d18p+1l); in tests()
33 assert(std::numbers::pi_v<float> == 0x1.921fb54p+1f); in tests()
35 assert(std::numbers::inv_pi == 0x1.45f306dc9c883p-2); in tests()
36 assert(std::numbers::inv_pi_v<double> == 0x1.45f306dc9c883p-2); in tests()
37 assert(std::numbers::inv_pi_v<long double> == 0x1.45f306dc9c883p-2l); in tests()
38 assert(std::numbers::inv_pi_v<float> == 0x1.45f306p-2f); in tests()
40 assert(std::numbers::inv_sqrtpi == 0x1.20dd750429b6dp-1); in tests()
41 assert(std::numbers::inv_sqrtpi_v<double> == 0x1.20dd750429b6dp-1); in tests()
42 assert(std::numbers::inv_sqrtpi_v<long double> == 0x1.20dd750429b6dp-1l); in tests()
43 assert(std::numbers::inv_sqrtpi_v<float> == 0x1.20dd76p-1f); in tests()
45 assert(std::numbers::ln2 == 0x1.62e42fefa39efp-1); in tests()
46 assert(std::numbers::ln2_v<double> == 0x1.62e42fefa39efp-1); in tests()
47 assert(std::numbers::ln2_v<long double> == 0x1.62e42fefa39efp-1l); in tests()
48 assert(std::numbers::ln2_v<float> == 0x1.62e42fp-1f); in tests()
50 assert(std::numbers::ln10 == 0x1.26bb1bbb55516p+1); in tests()
51 assert(std::numbers::ln10_v<double> == 0x1.26bb1bbb55516p+1); in tests()
52 assert(std::numbers::ln10_v<long double> == 0x1.26bb1bbb55516p+1l); in tests()
53 assert(std::numbers::ln10_v<float> == 0x1.26bb1bp+1f); in tests()
55 assert(std::numbers::sqrt2 == 0x1.6a09e667f3bcdp+0); in tests()
56 assert(std::numbers::sqrt2_v<double> == 0x1.6a09e667f3bcdp+0); in tests()
57 assert(std::numbers::sqrt2_v<long double> == 0x1.6a09e667f3bcdp+0l); in tests()
58 assert(std::numbers::sqrt2_v<float> == 0x1.6a09e6p+0f); in tests()
60 assert(std::numbers::sqrt3 == 0x1.bb67ae8584caap+0); in tests()
61 assert(std::numbers::sqrt3_v<double> == 0x1.bb67ae8584caap+0); in tests()
62 assert(std::numbers::sqrt3_v<long double> == 0x1.bb67ae8584caap+0l); in tests()
63 assert(std::numbers::sqrt3_v<float> == 0x1.bb67aep+0f); in tests()
65 assert(std::numbers::inv_sqrt3 == 0x1.279a74590331cp-1); in tests()
66 assert(std::numbers::inv_sqrt3_v<double> == 0x1.279a74590331cp-1); in tests()
67 assert(std::numbers::inv_sqrt3_v<long double> == 0x1.279a74590331cp-1l); in tests()
68 assert(std::numbers::inv_sqrt3_v<float> == 0x1.279a74p-1f); in tests()
70 assert(std::numbers::egamma == 0x1.2788cfc6fb619p-1); in tests()
71 assert(std::numbers::egamma_v<double> == 0x1.2788cfc6fb619p-1); in tests()
72 assert(std::numbers::egamma_v<long double> == 0x1.2788cfc6fb619p-1l); in tests()
73 assert(std::numbers::egamma_v<float> == 0x1.2788cfp-1f); in tests()
75 assert(std::numbers::phi == 0x1.9e3779b97f4a8p+0); in tests()
76 assert(std::numbers::phi_v<double> == 0x1.9e3779b97f4a8p+0); in tests()
77 assert(std::numbers::phi_v<long double> == 0x1.9e3779b97f4a8p+0l); in tests()
78 assert(std::numbers::phi_v<float> == 0x1.9e3779ap+0f); in tests()