File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
llvm/include/llvm/Support Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ using common_sint =
4444namespace numbers {
4545// TODO: Track C++20 std::numbers.
4646// TODO: Favor using the hexadecimal FP constants (requires C++17).
47+ // clang-format off
4748constexpr double e = 2.7182818284590452354 , // (0x1.5bf0a8b145769P+1) https://oeis.org/A001113
4849 egamma = .57721566490153286061 , // (0x1.2788cfc6fb619P-1) https://oeis.org/A001620
4950 ln2 = .69314718055994530942 , // (0x1.62e42fefa39efP-1) https://oeis.org/A002162
@@ -74,6 +75,7 @@ constexpr float ef = 2.71828183F, // (0x1.5bf0a8P+1) https://oeis.org/A
7475 sqrt3f = 1 .73205081F , // (0x1.bb67aeP+0) https://oeis.org/A002194
7576 inv_sqrt3f = .577350269F , // (0x1.279a74P-1)
7677 phif = 1 .61803399F ; // (0x1.9e377aP+0) https://oeis.org/A001622
78+ // clang-format on
7779} // namespace numbers
7880
7981// / Create a bitmask with the N right-most bits set to 1, and all other
You can’t perform that action at this time.
0 commit comments