Skip to content

Commit

Permalink
Add comments and newline
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperWig committed Nov 7, 2019
1 parent 43bdaae commit 89f59e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions stl/inc/numbers
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// numbers standard header
// numbers standard header (core)

// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Expand All @@ -15,7 +15,7 @@
#include <concepts>
#else // ^^^ defined(__cpp_lib_concepts) / !defined(__cpp_lib_concepts) vvv
#include <type_traits>
#endif
#endif // ^^^ !defined(__cpp_lib_concepts) ^^^

#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
Expand Down Expand Up @@ -83,7 +83,7 @@ namespace numbers {
inline constexpr _Ty egamma_v = static_cast<_Floating<_Ty>>(0.577215664901532860607);
template <class _Ty>
inline constexpr _Ty phi_v = static_cast<_Floating<_Ty>>(1.61803398874989484820);
#endif
#endif // ^^^ !defined(__cpp_lib_concepts) ^^^
inline constexpr double e = e_v<double>;
inline constexpr double log2e = log2e_v<double>;
inline constexpr double log10e = log10e_v<double>;
Expand All @@ -97,7 +97,7 @@ namespace numbers {
inline constexpr double inv_sqrt3 = inv_sqrt3_v<double>;
inline constexpr double egamma = egamma_v<double>;
inline constexpr double phi = phi_v<double>;
}
} // namespace numbers
_STD_END

#pragma pop_macro("new")
Expand All @@ -106,4 +106,4 @@ _STL_RESTORE_CLANG_WARNINGS
#pragma pack(pop)
#endif // _HAS_CXX20
#endif // _STL_COMPILER_PREPROCESSOR
#endif // _NUMBERS_
#endif // _NUMBERS_

0 comments on commit 89f59e3

Please sign in to comment.